You will find the crossing point of and with one short formula, then the program draws both lines and the point.
The idea. Eliminating each variable in turn gives, with ,
When , the lines do not cross at one point.
Your tasks.
d_value, return .meet, return the point (x, y), or None when .point to where and meet.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…