Roots of a function: Difference between revisions

Line 369:
=={{header|Ocaml}}==
 
A general root finder using the False Position (regula falsi) method, which will find all simple roots given a small step size.
 
<lang ocaml>
Line 413:
f(1.99999999999999978) = 0.00000000000000000 [exact]
</pre>
 
Note these roots are exact with floating-point accuracy.
 
=={{header|Octave}}==
Anonymous user