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
How to use
The text input field marked "f (x)=" can accept
a wide variety of expressions to represent functions.
The text input fields marked
can accept a real number in decimal
buttons under the graph
allow various manipulations of
the graph coordinates.
- Enter a function f (x) in the text input field
marked "f (x)="
f (x) = x2)
- Click the "Graph" button
(this button also refreshes the graph)
- Select values for x1 and x2
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
and click the
"Graph" button to refresh
- To erase the graph and all input fields (setting
x1 and x2 to default values), click the
Labels under the text input fields display
the values of
f (x2), and
the slope of the secant line.