You will write three functions about the tilted orbit of the Moon and the timing of eclipses.
The idea. As the Moon goes round, its distance from the ecliptic is about , where is its angle past a node. As rough rules, a solar eclipse needs the new Moon within of the ecliptic, and a lunar eclipse needs the full Moon within . One saros is days.
Your tasks.
moon_beta, return in degrees for an angle u in degrees.solar_possible, return True if a new Moon at angle u can give a solar eclipse.next_in_series, return the date and time one saros after when.Run your code once to unlock the worked solution.
Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…