You will write functions for the tangent with a given slope, for the second point where a normal meets the parabola, and for the length of a focal chord. All three use and the parameter of the point .
The idea. The tangent with slope is . The normal at meets the parabola again at . The focal chord through has length .
Your tasks.
tangent_intercept(a, m) to return the -intercept of the tangent with slope m.normal_again(a, t) to return the point where the normal at t meets the parabola a second time.focal_chord(a, t) to return the length of the focal chord with one end at t.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…