You will write three functions about the Moon's months and its motion.
The idea. The synodic month follows from . A body that goes once round in days moves each day. The average orbital speed is ; with in km and in days, divide by to get km/s.
Your tasks.
synodic, return the synodic period from the sidereal period and the year.degrees_per_day, return how far a body moves each day.orbit_speed, return the speed in km/s.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…