### Secant Lines

Graphs a function and a secant line for the function, given two points on the graph of the function, and computes the slope of the secant line.
How to use   ||   Examples   ||   Other Notes

How to use
• Enter a function f (x) in the text input field marked "f (x)=" (Example: f (x) = x2)
• Click the "Graph" button (this button also refreshes the graph)
• Select values for x1 and x2 (Example: x1=0, x2=1)
This can be done in either of two ways:
• Use the mouse to click and drag the red points on the graph -- the points follow the graph of f (x), and the values of x1 and x2 correspond to the horizontal positions of the points on graph
• Enter the values in the text input fields marked "x1=" and "x2=", and click the "Graph" button to refresh
• To erase the graph and all input fields (setting x1 and x2 to default values), click the "Clear" button
The text input field marked "f (x)=" can accept a wide variety of expressions to represent functions. The text input fields marked "x1=" and "x2=" can accept a real number in decimal notation. The buttons under the graph allow various manipulations of the graph coordinates.
Examples
 Parabola: f (x) = x2 x1=0, x2=1 Exponential: f (x) = ex x1=0, x2=1 Cosine: f (x) = cos x x1=0, x2=0.5

Other Notes
Labels under the text input fields display the values of f (x1), f (x2), and the slope of the secant line.