IntGraph Applet
IntGraph is used to help introduce the concept of the definite integral from a graphically perspective. It shows the graph of a velocity integrand function and left and/or right Riemann sum rectangles. The applet can be configured to hide or show the integrand input box.
The applet tag that creates the applet is as follows:
<applet
code="net.sourceforge.webcompmath.calculus.IntGraph" codebase="../../assets"
archive="webcompmath.jar,calculus.jar" height="480" width="640">
<param name="UseLoadButton" value="no" />
<param name="Example1" value="1. Steady;20;0;8;2;0;false;0,8,-10,90" />
<param name="Example2" value="2. Speeding Up;-t^2+15t+20;0;8;2;0;false;0,8,-10,90" />
<param name="Example3" value="3. Fast and slow;t^3-9t^2+18t+10;0;8;2;0;false;0,8,-10,90" />
<param name="Example4" value="4. Forwards and Backwards;t^3-9t^2+18t;0;8;2;0;false;0,8,-10,90" />
<param name="Example5" value="5. You Try!;t;0;8;2;0;true;0,8,-10,90" />
</applet>
This applet takes the following parameters:
Param Name Type Default Description Example1, ... String N/A Each example is a list of strings separated by semicolons. The strings, in order, are:
1. The name of the example, displayed in the example menu.
2. The expression for the velocity integrand function v(t). This applet uses t as the independent variable.
3. The value for the starting t input and slider.
4. The value for the ending t input and slider.
5. The number of intervals for the Riemann sum.
6. The type of rectangles to show. Use "0" for left rectangles, "1" for right rectangles, and "2" for both.
7. Whether to show or hide the v(t) input. "true" means to show it, "false" means to hide it.
8. The xmin, xmax, ymin and ymax values for both graphs, separated by commas.