Graphs a function f
) and the area under the graph of
for a given interval, and finds approximations to that area by
the Trapezoid Rule and Simpson's Rule.
How to use
How to use
The text input field for f (x)
can accept a wide variety of expressions
to represent functions, and the
buttons under the graph
allow various manipulations of
the graph coordinates.
The text input fields for a and b can accept real numbers
in decimal notation.
- Enter the function f (x) in the text
marked "f (x)="
- Click the "Graph" button
(this button also refreshes the graph)
- Enter the endpoints of the interval [a,b]
for the definite integral in the text input fields marked
"a=" and "b=", and
click the "Graph" button to refresh
- For each method, the
"+" and "-"
buttons under the label marked "n=" change the
number of subintervals used for that method
n=20 for both methods)
- To erase the graph and all input fields, setting the
"n=" fields to default values, click the
The area under the curve on the interval
[a,b] shaded so that positive areas are
and negative areas are red.
The approximate area computed
by each method is shown in the labels marked "Area=".