ChipMaster's bwBASIC This also includes history going back to v2.10. *WARN* some binary files might have been corrupted by CRLF.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
641 B

  1. 10 REM SAROS SERIES
  2. 14 REM
  3. 18 PRINT
  4. 22 INPUT "JULIAN DAY NUMBER";J
  5. 26 Q=J/29.530588-82064
  6. 30 B=INT(Q): N=Q-B
  7. 34 IF N>0.28 AND N<0.36 THEN 42
  8. 38 PRINT "WARNING: NOT NEW MOON!"
  9. 42 PRINT " BROWN LUNATION ";B
  10. 46 D=B-848
  11. 50 S=136+38*D
  12. 54 X=-61*D
  13. 58 C=INT(X/358+0.5-D/(12*358*358))
  14. 62 S=S+223*C
  15. 66 X=X-358*C
  16. 70 IF ABS(X-(S-136)/12)<55 THEN 78
  17. 74 PRINT "WARNING: NO ECLIPSE!"
  18. 78 PRINT " SAROS NUMBER ";S
  19. 82 PRINT " RELATIVE ECLIPSE ";
  20. 86 PRINT INT(X-(S-136)/12+0.5)
  21. 90 PRINT
  22. 94 END
  23. 95 REM ------------------------
  24. 96 REM APPEARED IN ASTRONOMICAL
  25. 97 REM COMPUTING, SKY & TELE-
  26. 98 REM SCOPE, OCTOBER, 1985
  27. 99 REM ------------------------