You will turn bearings and distances into positions, find back bearings, and follow a journey of two legs.
Your tasks.
back_bearing, return the bearing in the opposite direction, between and .move, return the new point (east, north) after travelling distance on the given bearing from point. Round both numbers to decimal places.end to the final position of a boat. It starts at (0, 0). It sails km on a bearing of . Then it sails km on a bearing of .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…