0
votes
2answers
172 views

Planet's Moon attrated by sun [closed]

I'm currently writing a code to generate solar system and $N$ number of planets / moons. I use real data to test (earth / sun / moon data). I succeeded in placing the earth and make it orbit around ...
5
votes
3answers
52 views

How can one predict the length of the Synodic month? Why is it irregular?

I'd like to write a program that uses the exact (down to the second) amount of time from one new moon (or full moon) to the next. Yet, I am told that this period is irregular. Yet, it seems to be ...