Simple animation of a chord approximating a tangent.
As h gets small, point B gets closer to point A, and the line joining the two gets closer to the REAL tangent at point A. Calculating the gradient between points A & B is not too hard, and if we let h -> 0 we will calculating the true gradient.