The gray secant line joins the fixed red point on the graph of to a movable black point on the curve. Drag the black point along the curve. The slopes of the secant lines approximate the slope of the tangent line, which is the derivative of the function at .