PolarDeriv Applet
PolarDeriv illustrates the derivative of a polar equation. It graphs the polar curve and shows a tangent line at a user-controllable point.
The applet tag that creates the applet is as follows:
<applet code="net.sourceforge.webcompmath.calculus.PolarDeriv" codebase="../../assets"
archive="webcompmath.jar,calculus.jar" height="400" width="600">
<param name="Example1" value="1. Circle;1;-2,2,-2,2;0;6.28;100;invoke;0" />
<param name="Example2" value="2. Archimedean Spiral;th;-7,7,-7,7;0;6.28;100;invoke;0" />
<param name="Example3" value="3. Extended Spiral;th;-7,7,-7,7;-6.28;6.28;100;invoke;0" />
<param name="Example4" value="4. Rose;3sin(2th);-3,3,-3,3;0;6.28;100;invoke;0" />
<param name="Example5" value="5. Limacon;1+2cos(th);-1.5,4.5,-3,3;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 r(th), the polar equation. Note that the independent variable to use is "th".
3. The xmin, xmax, ymin, and ymax for the graph, as a comma-separated list of numbers.
4. The value for tmin.
5. The value for tmax.
6. The value for tintervals.
7. 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.
8. The value for th, which controls where the point of tangency is located.