Open Methods (Newton-Raphson Secant Methods)
Open Methods (Newton-Raphson Secant Methods)
Open methods are based on formulas that require only a single starting value of x or
two starting values that do not necessary bracket the root. As such, they sometimes diverge or
move away from the true value root as the computation progresses. However, when the open
methods converge, they usually do so much more quickly than the bracketing methods.
Newton-Raphson Method is the most widely used of all root-locating formulas. Only
one initial guess of the root is needed to get the iterative process started to find the root of
an equation.
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 as shown in the figure shown
below.
( )
( )
( )
which gives
( )
Newton-Raphson formula
( )
( )
( )
3. Find the absolute relative approximate error, | | as
| | | |
4. Compute the absolute relative approximate error, | | with the pre-specified
relative error tolerance, . If | | , then go to step 2, else stop the algorithm.
Also, check if the number of iterations has exceeded the maximum number of
iterations.
Illustrative Example:
Solution:
( )
Starting with an initial guess of xi=0, this iterative equation can be applied to compute
( ) ( )
( )
This approximation can be substituted into the Newton-Raphson formula:
( )( )
( )
Secant formula.
( )
Illustrative Example:
Solution: