You are on page 1of 1

TUGAS 1B METOODE NUMERIK

Nama : Ihda Ciptaditama


NIM : 14511408
Dosen Pengampu : Ranny Adriana S.T., M.T.

Tentukan akar persamaan dari f(x) = (10.408)x + sin x + cos x - e^x dengan
metode newton raphson dan secant!
Diketahui f'(x) = 10.408 + cos x - sin x - e^x

Metode Newton Raphson


Iterasi ke- x1 f(x1) f'(x1) x2
1 4 -11.8988 -43.26234 3.724961
2 3.724961 -1.63737 -30.1287 3.670615
3 3.670615 -0.01032 -27.93413 3.670246
4 3.670246 0.00032 -27.91963 3.670257
5 3.670257 3.21E-06 -27.92006 3.670257
6 3.670257 3.21E-06 -27.92006 3.670257
7 3.670257 3.21E-06 -27.92006 3.670257
8 3.670257 3.21E-06 -27.92006 3.670257
9 3.670257 3.21E-06 -27.92006 3.670257

: Sudah Konvergen

Metode Secant
Iterasi x1 x2 f(x1) f(x2) x3 f(x3)
1 3 4 12.18943 -11.89883 3.506032 4.234255
2 4 3.506032 -11.8988 4.234255 3.635678 0.973977
3 3.506032 3.635678 4.234255 0.973977 3.674408 -0.120041
4 3.635678 3.674408 0.973977 -0.120041 3.670159 0.0028291
5 3.674408 3.670159 -0.12004 0.0028291 3.670256 3.205E-05
6 3.670159 3.670256 0.002829 3.205E-05 3.670257 3.211E-06
7 3.670256 3.670257 3.2E-05 3.211E-06 3.670258 -2.56E-05
8 3.670257 3.670258 3.21E-06 -2.56E-05 3.670258 -2.56E-05
9
10

: Nilai x2 dan x3 sudah sama, yang berarti merupakan


akar persamaan yang dicari antara interval [3,4]

You might also like