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 is a general purpose graphing tool, which has features built in to facilitate zooming in on features of interest on the graph, In addition to the usual buttons for changing the graphing range, you can drag out a rectangle on the graph with the mouse, and them zoom to the box, ie snap the scale of the graph to fit that rectangle.

Example: One important mathematical concept this page demonstrates is local linearity. That is, no matter which point of a differentiable graph you choose to zoom in on, eventually, once the scale is suitably small, the curved line ends up looking like a straight line. The slope of this straight line is the derivative of the curve at the point you were zooming in on.

If you can see this, it means you do not have a browser that can view Java programs.


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.
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.
You can change the scale of your picture quickly with "Zoom In", "Zoom Out" and "Zoom to Box". The first two zoom in or out around the center of the graph. If you click and drag on the graphing window, you can draw out a box, and Zoom To Box will zoom in to make that box fill the whole window.

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

<applet height=350 width=350 codebase="" code="graphing/applets/ZoomGrapher.class"> </applet> 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!