# Slope of a Function at a Point

Use this interactive to find the slope at a point. Instructions below.

## Instructions

Type your function into the top box ... your function is plotted live.

Now drag the points "A" and "B" to the function line. When they are close they will "snap" to the function.

Bring points "A" and "B" near the point where you want to find the slope.

If "A" and "B" are on top of each other So keep them a small distance apart. |

Now Zoom In: by drawing a rectangle around the points, or pressing "Fit". Now bring the points close together again. |

Keep zooming and moving the points closer together until you are happy with the answer.

This is the idea behind **differential calculus**! You can't have a gap of zero (the slope could be anything), but as the gap heads towards zero, the slope heads towards the true slope at that point.

## Accuracy

The are only a few hundred pixels in either direction, and so the calculations are not totally accurate! But they should give you a good feel for what is going on.

And don't worry, you can usually use **differential calculus** to find an accurate answer.