Formula Graphing Applets
See Java class documentation.
This demonstrates one program from the package, "graphing",
of Java classes I am developing to use for graphing
mathematical functions in educational demonstrations.
The applet on this page illustrates how you construct the integral of a function
as the sum of the areas of larger and larger numbers of strips. You can draw the graph of a
function and then move the slider bar to show the strips that make up the left-hand or right-hand
Riemann sums. You can also display the areas of the sums of the strips at any stage.
Instructions:
-
Adding Functions
-
Press "Add Function" button and type in a formula to be graphed in standard mathematical notation
(eg "e^(-x/10)sin(x)"). The only variable the formula can use is x.
You can add as many functions as you like, and "Delete Function" deletes the last one you
entered.
-
Rescaling
-
This brings up a panel which you can use to edit the scale of the graph. The x
variable runs between xMin and xMax, and the y values run between yMin
and yMax. Use xScale and yScale to
set the spacing of tick marks on the axes. If xScale or yScale is zero, the
graph will have no tickmarks on that axis.
-
Riemann Sums
-
Move the slider bar to vary the number of strips in the Riemann sums. The control buttons
set whether or not to show the value of the Riemann sum in the screen, and whether to use
left-hand or right-hand Riemann sums.
Please play with the program here, and see what it can do.It's still under
development; so go ahead and try to break it, and let me know if you can!
If you like my program and you want to use it in your pages, just include the tag
in your web pages and you'll get what you see here!
If you have suggestions for changes, developments, or extensions of this program please mail me.
Please mail me with bug reports too!