You will write three small functions that solve a spherical triangle. All angles and sides are in degrees.
The idea. The cosine rule is . Turned round, . The excess is , and the area in square degrees is .
Your tasks.
third_side, return the side from , and the angle .angle_from_sides, return the angle opposite from the three sides.area, return the area in square degrees from the three angles.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…