File BEUTE.BA (BASIC source file)

Directory of image this file is from
This file as a plain text file

10 PRINT "DIESES PROGRAMM BERRECHNEET DAS  WACHSTUM IN "
20 PRINT "EINEM RAEUBER-BEUTESYSTEM,AM BEISPIEL"
30 PRINT "REHE-WOELFE."
40 PRINT "BITTE GEBEN SIE DIE ANFANGSZAHL DER WOELFE AN.""
50 INPUT X
60 PRINT "BITTE GEBEN SIE DIE ANFANGSZAHL DER REHE AN."
70 INPUT Y
80 PRINT "WIEVIELL GENERATIONEN SOLLEN BERECHNET  WERDEN?"
90 INPUT Z
100 PRINT "WIE GROSS IST DIE STERBERATE DER WOELFE?"
110 INPUT A
120 PRINT "WIE GROSS IST DIE WACHSTUMSRATE DER REHE?"
130 INPUT B
140 M=0
150 X1=(1-A)*X+X*Y/500
160 Y1=(1+B)*Y-X*Y/250
170 X=X1
180 Y=Y1
190 M=M+1
200 IF M=Z THEN 220
210 GOTO 150 
220 END



Feel free to contact me, David Gesswein djg@pdp8online.com with any questions, comments on the web site, or if you have related equipment, documentation, software etc. you are willing to part with.  I am interested in anything PDP-8 related, computers, peripherals used with them, DEC or third party, or documentation. 

PDP-8 Home Page   PDP-8 Site Map   PDP-8 Site Search