You will write three functions about tides. Use SI units: kilograms, metres and seconds.
The idea. The tidal stretch across a body of radius , caused by a mass at a distance , is about . The Sun's tide compared with the Moon's is the ratio of their stretches. The lunar day is hours, where is the synodic month in days.
Your tasks.
tidal_stretch, return .sun_share, return the Sun's stretch on the Earth divided by the Moon's.lunar_day, return the lunar day in hours for a synodic month of p days.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…