Modul 2 Persamaan Nonlinier II. Metode Succesive Approximation

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

MODUL 2

Persamaan Nonlinier

II. Metode Succesive Approximation

START

x0 ;
tol ;

e =1 ; ite=0

e>= tol

ite=ite+1
gx=persamaanbaru
e=abs{(gx-x0)/x0}
x0=gx

x0, ite, e, tol

END
II. Metode Newton-Rhapson

START

x0 ;
tol ;

e=1 ; ite=0

e>=tol

ite=ite+1
fx=f(x0) ; dfx=f ‘(x0)
x1=x0 - (fx/dfx)
e=abs{(x1-x0)/x0}
x0=x1

x1, ite, e, tol

END

You might also like