Newton-Raphson iteration
Newton-Raphson iteration
(algorithm)f x = 0
and an initial approximation, x(0), a better approximation isgiven by:
x(i+1) = x(i) - f(x(i)) / f'(x(i))
where f'(x) is the first derivative of f, df/dx.
Newton-Raphson iteration is an example of an anytime algorithm in that each approximation is no worse than theprevious one.