[ P rev | Main | Next ]

ParamDeriv Applet



ParamDeriv illustrates the derivative of a parametric curve. It graphs a curve defined by x(t) and y(t) and shows the tangent line at a user-controlled point on the curve.

The applet tag that creates the applet is as follows:

<applet code="net.sourceforge.webcompmath.calculus.ParamDeriv" codebase="../../assets"
archive="webcompmath.jar,calculus.jar" height="400" width="560">
<param name="Example1" value="1. A Circle;cos(t);sin(t);-2,2,-2,2;0;6.28;100;invoke;0" />
<param name="Example2" value="2. Also A Circle;cos(2t);sin(2t);-2,2,-2,2;0;6.28;100;invoke;0" />
<param name="Example3" value="3. A Line;2-3t;-1+6t;-5,5,-5,5;0;1;100;invoke;0" />
<param name="Example4" value="4. An Ellipse;1/2*cos(t);sin(t);-2,2,-2,2;0;6.28;100;invoke;0" />
<param name="Example5" value="5. A Lissajous Figure;cos(3t);sin(5t);-2,2,-2,2;0;6.28;100;invoke;0" />
</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 x(t), the x function.
3. The expression for y(t), the y 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.


[ Prev | Main | Next ]