A curve has the equation y=f(x).
Find the eqn of the normal to the curve at the point x=x0 in 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.