You are on page 1of 4

f(x)= 2x^3 - x sin (x) - 9/x

iterasi a b p f(p) error


1 1 2 1.5 -0.74624247990608 -
2 1.5 2 1.75 3.85391745011347 0.142857142857143
3 1.5 1.75 1.625 1.42095628316124 0.0769230769230769
4 1.5 1.625 1.5625 0.306948303627737 0.04
5 1.5 1.5625 1.53125 -0.22687870869558 0.0204081632653061
6 1.53125 1.5625 1.546875 0.038179629035374 0.0101010101010101
7 1.53125 1.546875 1.539063 -0.09480748613624 0.0050761421319797
8 1.539063 1.546875 1.542969 -0.0284291496379 0.0025316455696203
9 1.542969 1.546875 1.544922 0.004846342947594 0.0012642225031606
10 1.542969 1.544922 1.543945 -0.01179861611286 0.0006325110689437
11 1.543945 1.544922 1.544434 -0.00347794120299 0.0003161555485299
12 1.544434 1.544922 1.544678 0.000683749538738 0.0001580527896317
13 1.544434 1.544678 1.544556 -0.00139720864321 7.903264048052E-05
14 1.544556 1.544678 1.544617 -0.0003567577578 3.95147587624E-05
15 1.544617 1.544678 1.544647 0.000163488838732 1.975698903487E-05
16 1.544617 1.544647 1.544632 -9.66362224242E-05 9.878592103053E-06

Dengan demikian, dalam interval [1,2] ditemukan solusi pendekatan dari persamaan non linier 2x^3 - x s
lanjut or STOP f(a) f(a) danf(p) sama tanda?
lanjut y
lanjut -0.746242 n
lanjut -0.746242 n
lanjut -0.746242 n
lanjut -0.746242 y
lanjut -0.226879 n
lanjut -0.226879 y
lanjut -0.094807 y
lanjut -0.028429 n
lanjut -0.028429 y
lanjut -0.011799 y
lanjut -0.003478 n
lanjut -0.003478 y
lanjut -0.001397 y
lanjut -0.000357 n
stop -0.000357

tan dari persamaan non linier 2x^3 - x sin (x) - 9/x = 0 yaitu x= 1,54465
f(x)= 2x^3 - x sin (x) - 9/x
iterasi a b f(a) f(b) p f(p) erorr
1 1 2 -7.841471 9.681405 1.4474991 -1.588376 -
2 1.447499 2 -1.588376 9.681405 1.5253692 -0.325698 0.051050004441984
3 1.525369 2 -0.325698 9.681405 1.5408168 -0.065025 0.010025614381035
4 1.540817 2 -0.065025 9.681405 1.5438803 -0.012906 0.00198429831471
5 1.54388 2 -0.012906 9.681405 1.5444875 -0.002558 0.000393145155396
6 1.544488 2 -0.002558 9.681405 1.5446079 -0.000507 7.79076363058E-05
7 1.544608 2 -0.000507 9.681405 1.5446317 -0.0001 1.54391325237E-05
8 1.544632 2 -0.0001 9.681405 1.5446365 -1.99E-05 3.0596297444E-06
9 1.544636 2 -1.99E-05 9.681405 1.5446374 -3.95E-06 6.06338953564E-07
10 1.544637 2 -3.95E-06 9.681405 1.5446376 -7.82E-07 1.20160627381E-07

Dengan demikian, dalam interval awal [1,2] diperoleh solusi pendekatan x = 1,544638
stop or next itration? f(a) dan f(p) sama tanda?
lanjut y
lanjut y
lanjut y
lanjut y
lanjut y
lanjut y
lanjut y
lanjut y
lanjut y
lanjut

You might also like