You will write functions that say how high a star climbs, for how long it is up and where it rises. Angles are in degrees, and latitudes and declinations are negative in the south.
The idea. On the meridian a star is at . It is up for hours, with . If the right side is or less, the star never sets ( hours). If it is or more, the star never rises ( hours). It rises at from north, with .
Your tasks.
meridian_altitude, return the altitude on the meridian.hours_up, return the hours above the horizon, with 24.0 and 0.0 for the polar cases.rising_azimuth, return in degrees.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…