Newton Method of Solving Nonlinear Equations: Algorithm
Newton Method of Solving Nonlinear Equations: Algorithm
Equations
In the Newton-Raphson method, the root is not bracketed. Only one initial
guess of the root is needed to get the iterative process started to find the root of an
equation. Hence, the method falls in the category of open methods.
Newton-Raphson method is based on the principle that if the initial guess
of the root of f(x)=0 is at xi, then if one draws the tangent to the curve at f(xi), the
point xi+1 where the tangent crosses the x-axis is an improved estimate of the root
(Figure 1).
Using the definition of the slope of a function, at
which gives
(1)
Algorithm
The steps of the Newton-Raphson method to find the root of an equation f(x) = 0
are
1. Evaluate f(x) symbolically
2. Use an initial guess of the root, xi, to estimate the new value of the root xi+1
as