Numeric equation solving.
xn+1 = xn -
f(xn)
/
f'(xn)
Quick start:
If you leave out the equality sign, then = 0 will be assumed.
|
Press stop to stop iterating, press continue to start iterating
again using the last calculated value as startvalue.
Examples: | |
A convergent equation. x=sin(x)-3 , startvalue -2
x= -3.3482340796530266 after 1 iterations. |
A divergent equation. 1/x=5 , startvalue 2
x= -16.0 after 1 iterations. |
You can use the following operators:
+ - * / ^ sin(..) cos(..) tan(..) asin(..) acos(..) atan(..) sinh(..) cosh(..)
tanh(..) cotan(..)
acotan(..) sqrt(..) ln(..) exp(..)
where exp is "constant e raised to..." and ^ is "power to..".
Predefined constants are:
euler which is the same as exp(1), and pi.
This Applet uses the com.javathings.math class library.
It actually performs a symbolic derivation of the equation before calculating the value.
For more information go to this page