Derivative at a point

Author:
scnc1111
Instructions: 1. Enter any function you like in the text box. e.g. x^2, exp(x), ln(x), sin(x) 2. Uncheck 'enter function' after entering the function to check if your input has been successfully recognized. 3. Hold down 'shift' and drag to adjust the view if necessary. You can also adjust the scale by holding down 'shift' and drag the axis. 4. Specify the red point. 5. Drag the pink point to anywhere you like, but make sure it does not overlap with the red point. 6. Depending on your needs, select the relevant 'show' boxes to aid your understanding. (Recommended: click the boxes from left to right, top to bottom.) 7. Drag the pink point towards the red point (alternatively, you can use the arrow keys on your keyboard). Observe how the slope of the cyan line changes when it gets closer and closer to the red point. 8. Eventually, when the pink point overlaps with the red point, the cyan line will become a tangent, shown in green. The slope of this tangent is also known as the derivative of the function at a point (the red point you have specified). 9. Repeat steps 1 to 8 if necessary.