You are on page 1of 4

Methode Secant

Selesaikan Persamaan non linier berikut:


x + e^(-x) * cos (x)-2 =0

Penyelesaiaan :
x f(x)
0 -1
0.75 -0.904374651331101

Iterasi x(n-1) x(n) x(n+1)


0 0 0.75 7.843108657275
1 0.75 7.84310865727517 1.700698700355
2 7.84310865727517 1.700698700355 2.022409025480
3 1.70069870035514 2.02240902547959 2.061945235123
4 2.02240902547959 2.06194523512252 2.059878287974
5 2.06194523512252 2.05987828797357 2.059887652068

Kesimpulan :
dari persamaan non linear x + e^(-x) cos(x) - 2 = 0 diperoleh x mendekati f(x) = 0 yaitu x = 2,059887652068 dengan f(x) =-0,000
f(x(n+1)) f(x(n)) f(x(n+1))
-1 -0.904374651331 5.843112924260
-0.904374651331 5.843112924260 -0.322949108787
5.843112924260 -0.322949108787 -0.035344792102
-0.322949108787 -0.035344792102 0.001949753275
-0.035344792102 0.001949753275 -0.000008873359
0.001949753275 -0.000008873359 -0.000000002166

u x = 2,059887652068 dengan f(x) =-0,000000002166


Methode Newton Raphson
Tentukan Solusi Dari persamaan non linier berikut
x + e^(-x) cos (x) - 2 = 0

Penyelesaian :
f(x) = x + e^(-x) cos(x) - 2
f'(x) = -e^(-x)*(sin(x)+cos(x)-e^(x)) x1 = x0 - (f(x0)/f'(x0))

Iterasi x f(x) f'(x)


0 0.75 -0.90437465133110100000 0.33239130004421900000
1 3.47081324394107 1.44139130223325000000 1.03947407305411000000
2 2.08415883898967 0.02305910852445110000 0.95272491504540600000
3 2.05995551633032 0.00006429049291822860 0.94737900070091400000
4 2.05988765490119 0.00000000051815618463 0.94736372942616800000

Kesimpulan :
Dari persamaan non linier x + e^(-x) cos (x) - 2 = 0 diperoleh x mendekati f(x) yaitu x = 2,059887655 dengan f(x) = 0,000000000
87655 dengan f(x) = 0,00000000051815618463

You might also like