Moonage
- Posted by Ad Rienks <Ad_Rienks at COMPUSERVE.COM> Nov 07, 1997
- 708 views
Wally Riley wrote: >Marvelous! It works! I just tried Ad Rienks' 'moonage' program, and it= >came out right on the nose (except that certain phases, which are usuall= y >calculated to occur at a particular hour and minute, sometimes last two = or >three days according to the program -- but so what?) Thanks for the compliments, but as you can see in the header of the program, it is only an Euphoria translation of a C program by someone else. The program can of course be changed in such a way that it only says 'new moon' when the moon_age is 0, etc. >A couple of years ago I calculated the date of full moon in October, 200= 2, >and it turned out to be on the 20th. I picked that month out of thin ai= r. >This was very much a brute-force calculation, and I had no assurance tha= t it >was anywhere near correct. Now the moonage program says I hit it dead o= n. How did you calculate this by 'brute force'? Is there an algorithm different from the one used in moon_age? Ad Rienks Ad_Rienks at compuserve.com >Wally Riley >wryly at mindspring.com