[ P rev | Main | Next ]

IntTable Applet

IntTable is used to help introduce the concept of the definite integral from a tabular perspective. It shows a table of values for a velocity integrand function and left and/or right velocity estimates for each interval, plus the corresponding distance traveled. 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.IntTable" codebase="../../assets"
archive="webcompmath.jar,calculus.jar" height="200" width="640">
<param name="UseLoadButton" value="no" />
<param name="Example1" value="1. Steady;20;0;8;1;0;false" />
<param name="Example2" value="2. Speeding Up;-t^2+15t+20;0;8;1;0;false" />
<param name="Example3" value="3. Fast and slow;t^3-9t^2+18t+10;0;8;2;0;false" />
<param name="Example4" value="4. Forwards and Backwards;t^3-9t^2+18t;0;8;2;0;false" />
<param name="Example5" value="5. You Try!;t;0;8;1;0;true" />

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.

[ Prev | Main | Next ]