Shrink the gap between two points and zoom in until the curve is straight.
A curve with a point on it. A blue secant line passes through that point and a second point a gap h further along; its slope is the average rate of change. As the gap slider shrinks h toward zero, the secant turns into the dashed amber tangent line, whose slope is the derivative. A zoom slider magnifies around the point until the curve looks straight.
From two points to one: the tangent
InteractiveCurve
The math, with your numbers
For the ball, the derivative of height is the velocity: positive going up, zero at the top, negative coming down.
Try this
Want to know why it behaves like this?
The lesson “Rates of Change: Derivatives” explains it step by step: How can a car have a speed at a single instant?