Paked - How to write algorithm for Newton Raphson method?


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


Home | Disclaimer | Advertise| Contact| Privacy Policy

 

Copyright © 2004-10 Paked.com. All rights reserved.

Note: Site best viewed at 1024 x 768 or higher screen resolution