Question: How would I write the procedure?

A curve has the equation y=f(x).

Find the eqn of the normal to the curve at the point x=xin the form y=g(x, x0) and write a procedure to plot curve y=f(x) with its normal at any point on the curve.

Animate the plot so that the normal is seen sliding along the curve.

Please Wait...