Slope of a Tangent to a Curve
Move the a slider to vary the position of the point A. This will change the tangent line and its slope. Then move the b slider to vary the point B. This will change the secant line and its slope. Note that as B is moved closer to A, the slope of the secant approaches the slope of the tangent.