Animate the Tangent and Normal to a Function
, when given a scalar function f
, will compute the curvature and basis of the graph of f
. This basis consists of the tangent and normal to the graph.
Define the function and create a plot.
Compute the tangent, normal, and points on the curve.
Create the animation.