FindRoot

Command: FindRoot


Description

Numerically searches for a root of a function
specified by proc in the interval [double1 double2].
The search stops when the absolute value of proc
is less or equal double3.
Parameters

Author
Diesmann Hehl
Bugs

- should raise error when there is no sign reversal
- tracing should be optional
- specification of precision should be optional
Synopsis
proc double1 double2 double3 FindRoot -> double
References

[1] The Mathematica Book "FindRoot"
[2] Numerical Recipes in C. 2nd ed. sec. 9.1
"Bracketing and Bisection"
Examples

cout 15 setprecision % for display only
{dup mul 2 sub} -3.0 7.0 0.00000000001 FindRoot
File
lib/sli/mathematica.sli
Remarks

FindRoot currenly supports only a single method for
root finding: the "bisection method" (see [2]). The
Mathematica implementation uses different methods (see [1]).
FirstVersion