[ P rev | Main | Next ]

EqOfMotion Applet



EqOfMotion is used to show how integration can go from an acceleration function to the velocity function, and then on to the position function, once also given an initial velocity and initial position.

The applet tag that creates the applet is as follows:

<applet code="net.sourceforge.webcompmath.calculus.EqOfMotion" codebase="../../assets"
archive="webcompmath.jar,calculus.jar" height="400" width="640">
<param name="UseLoadButton" value="no" />
<param name="Example1" value="1. Constant Acceleration;-9.8;1;0;0;-1,5,-10,10;-1,5,-50,50;-1,5,-100,100;-30;30;-50;50" />
</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 acceleration function, a(t). Use t as the independent variable.
3. The value for the t input and slider.
4. The initial v0 value.
5. The initial s0 value.
6. The xmin, xmax, ymin and ymax values for the acceleration graph, separated by commas.
7. The xmin, xmax, ymin and ymax values for the velocity graph, separated by commas.
8. The xmin, xmax, ymin and ymax values for the position graph, separated by commas.
9. The minimum value for the v0 slider.
10. The maximum value for the v0 slider.
11. The minimum value for the s0 slider.
12. The maximum value for the s0 slider.


[ Prev | Main | Next ]