[ P rev | Main | Next ]

Inverse Applet

Inverse illustrates the derivative of the inverse of a function. Since the software can't find the inverse relation symbolically, you must provide both the function and its inverse in each example.

The applet tag that creates the applet is as follows:

code="net.sourceforge.webcompmath.calculus.Inverse" codebase="../../assets"
archive="webcompmath.jar,calculus.jar" height="400" width="800">
<param name="Example1" value="1. A Line;2x;0.5x;-5,5,-5,5;-5;5;1000;1" />
<param name="Example2" value="2. Another Line;3x;(1/3)x;-5,5,-5,5;-5;5;1000;1" />
<param name="Example3" value="3. A Parabola;x&gt;=0?x^2;sqrt(x);0,5,0,5;0;5;500;2" />
<param name="Example4" value="4. Exponential and Natural Logarithm;e^x;ln(x);-5,5,-5,5;-5;5;1000;0" />
<param name="Example5" value="5. Exponential and Common Logarithm;10^x;log10(x);-5,5,-5,5;-5;5;1000;0" />
<param name="Example6" value="6. Sin and Arcsin;sin(x);arcsin(x);-3.15,3.15,-3.15,3.15;-1.57;1.57;630;0" />
<param name="Example7" value="7. Cos and Arccos;cos(x);arccos(x);-3.15,3.15,-3.15,3.15;0;3.15;315;0" />
<param name="Example8" value="8. Tan and Arctan;tan(x);arctan(x);-6.28,6.28,-6.28,6.28;-1.57;1.57;315;0" />

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 f(x).
3. The expression for the inverse of f.
4. The xmin, xmax, ymin, and ymax to use for both graphs, as a list of comma-separated numbers.
5. The minimum value of the x slider.
6. The maximum value of the x slider.
7. The number of steps for the x slider. If the min is 0 and the max is 2, then setting the steps to 200 will cause the slider to increment x by 0.01 for each step.
8. The value for x.

[ Prev | Main | Next ]