## MotionOnPlane Applet

MotionOnPlane illustrates the motion of a point on a two dimensional plane. The position function is defined by a pair of parametric equations, x(t) and y(t). The applet graphs the parametric curve showing the path of the point and can animate the motion of the point along the path. It also shows the velocity vector and the acceleration vector.

The applet tag that creates the applet is as follows:

<applet code="net.sourceforge.webcompmath.calculus.MotionOnPlane" codebase="../../assets"

archive="webcompmath.jar,calculus.jar" height="450" width="600">

<param name="Example1" value="1. Circular Motion;cos(t);sin(t);-2,2,-2,2;0;6.28;100;invoke;0" />

<param name="Example2" value="2. Complicated Motion;2t^3-9t^2+12t;3t^4-16t^3+18t^2;-30,40,-30,40;0;4;100;invoke;0" />

</applet>

This applet takes the following parameters:

Param NameTypeDefaultDescriptionExample1, ...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 x(t), the x position function.

3. The expression for y(t), the y position function.

4. The xmin, xmax, ymin, and ymax to use for the graph, as a list of comma-separated numbers.

5. The tmin to use for graphing the parametric curve.

6. The tmax to use for graphing the parametric curve.

7. The tintervals to use for graphing the parametric curve.

8. Should always be "invoke"; this causes the example settings for tmin, tmax, and tintervals to be saved by the limit control panel, enabling the user to restore them using the Restore button.

9. The value for t, the current time.