Derivative

A is the point where we are calculating the derivative. B is a movable point which helps to find a secant line. When B is close to A, the secant line is similar to the tangent line. m is the value of the derivative at A. When moving A, m traces the derivative function. You can also change the function f(x)=x^3 to any other function.