You will write a small tool that finds the height of a tower from two points on one side of it.
Your tasks.
cot, return the cotangent of an angle given in degrees.height_from_two, return the height when the points are d metres apart, with the angle far at the farther point and near at the nearer point.nearer_distance, return the distance of the nearer point from the foot of the tower.tower to the height when the points are m apart and the angles are and .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…