The derivative as a function

Let f(x) = x3 - 4x + 5. Then

f '([text]) = [text].

Below is the plot of f, its derivative f '(x) = 3x2 - 4, and the tangent line at x = [number]. Drag the point on the graph of f to move the tangent line.

This page uses JSXGraph.