|
How to write algorithm for Newton Raphson method?
| Input starting value: x0 | | Input number of iterations : iteration | | for n=0, 1, ...until iteration OR ( xn+1- xn< E ) | | a:=f(xn) | | d:=f'(xn) | | xn+1:= xn - a/d | | endloop | | Output: x0, x1, x2 ....: a sequence of approximations to the required solution |
Your Answer
DISCLAIMER
Paked and the contributors are not responsible for any errors contained and are
not liable for any damages resulting from the use of this material.
Disclaimer
|
|