A line is three numbers for . In this lab you write the three functions that every problem of this lesson uses, and then the checker tries them on many points.
Your tasks.
distance, return the perpendicular distance from a point to a line.reflect, return the image of a point in a line, as a pair of numbers.bisectors, return the two angle bisectors of two lines, each as three numbers .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…