SINCE WE loaded Bio-rhythms we have not been able to see the TV screen for interested parties. Everyone in the office is becoming a bio-rhythm bore.
The program requires your date of birth and the current date and then displays a neat chart of the month, with curves for the physical, mental and emotional cycles.
Your physical state varies over a 23-day cycle and relates to your endurance, strength and aggressiveness. The emotional cycle lasts 28 days and governs anger, moodiness and optimism/pessimism. Mentally, you oscillate between Einstein and ape over a 33-day cycle.
The program was submitted by R Clark, of Saltash, Cornwall.
1 RESTORE
2 PRINT AT 0,0;" BIO-RHYTHM "
10 INPUT "Enter Date Of Birth","Day ";a;" Month ";b;" Year ";c
20 INPUT "Enter Date Now ",,"Month ";d;" Year ";e
25 CLS
30 LET t=INT (((e-c)*365.25)+((d-b)*30.35)-a)
800 FOR r=0 TO 255
810 PLOT r,10
815 IF r=INT (r/8)*8 THEN FOR u=10 TO 20: PLOT r,u: NEXT u
820 NEXT r
830 PRINT AT 21,0;"1st 10th 20th 30th"
840 PRINT AT 0,0; INK 1;"physical "; INK 2;"mental "; INK 4;"emotional"
900 FOR r=1 TO 3
905 READ u
910 LET l=2*PI*(t-(INT (t/u)*u))/u
920 LET k=2*PI*(33-u)*.03
1000 FOR a=l TO k+l+(2*PI) STEP .1
1010 PLOT INK ((1 AND u=23)+(2 AND u=28)+(4 AND u=33));(a-l)*(35-28+u),90+SIN a*60
1020 NEXT a
1030 NEXT r
1040 DATA 23,28,33
1050 INPUT "Another Go ? ";a$: IF a$(1)="y" THEN GO TO 1
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.