1
2. find a root of f ( x )=x 3 +2 x−3 in the range 0 ≤ x ≤ 7/5 using the bisection method
4. the function f ( x )=x 5−3 x 3 +2.5 x−0.6 has exactly one root in ( 1,2 ) . Demonstrate
f ( a ) ∙ f ( b )< 0 maka:
( a+b) (0+7 /5)
c= = =0.7
2 2
f ( 0.7 )=(0.7)3+ 2(0.7)−3=−1.257
f ( a ) ∙ f ( c ) >0 maka:
a=c=0.7 dan b=7/5
Iterasi 2
f ( 0.7 )=−1.257
f ( 7 /5 )=2.544
f ( a ) ∙ f ( b )< 0 maka:
( a+b) (0.7+ 7/5)
c= = =1.05
2 2
f ( 1.05 ) =(1.05)3 +2(1.05)−3=0.257
f ( a ) ∙ f ( c ) <0 maka:
a=0.7 dan b=c=1.05
Iterasi 3
f ( 0.7 )=−1.257
f ( 1.05 ) =0.257
f ( a ) ∙ f ( b )< 0 maka:
( a+b) (0.7+ 1.05)
c= = =0.875
2 2
Jadi, akar yang diperoleh dari f ( x )=x 3 +2 x−3 setelah 3 iterasi menggunakan
Metode Biseksi adalah 0.875
4. Grafik
Dik:
f ( x )=x 5−3 x 3 +2.5 x−0.6
a=1 dan b=b
Dit: akar dari f ( x ) dengan ε =0.00001
Penyelesaian:
Iterasi 1
f ( 1 ) =15−3(1)3+ 2.5(1)−0.6=−0.1
f ( 2 ) =25−3(2)3 +2.5(2)−0.6=12.4
f ( a ) ∙ f ( b )< 0 maka:
( a+b) (1+2)
c= = =1.5
2 2
f ( 1.5 )=(1.5)5−3 ( 1.5 )3 +2.5 ( 1.5 )−0.6=0.618
f ( a ) ∙ f ( c ) <0 maka:
a=1 dan b=1.5
Iterasi berikutnya dapat dilihat pada tabel berikut ini:
a b c f ( a) f (b ) f ( c) f ( a)∙ f (c ) ε
1 1,5 1,25 -0,1 0,61875 -0,28262 0,028262 0,5
1,25 1,5 1,375 -0,28262 0,61875 -0,04644 0,013125 0,25
0,22054
1,375 1,5 1,4375 -0,04644 0,61875 8 -0,01024 0,125
0,22054 0,07224
1,375 1,4375 1,40625 -0,04644 8 9 -0,00336 0,0625
1,39062 0,07224 0,00939
1,375 1,40625 5 -0,04644 9 3 -0,00044 0,03125
1,39062 1,38281 0,00939
1,375 5 3 -0,04644 3 -0,01938 0,0009 0,015625
1,38281 1,39062 1,38671 0,00939
3 5 9 -0,01938 3 -0,00521 0,000101 0,0078125
1,38671 1,39062 1,38867 0,00939 0,00203
9 5 2 -0,00521 3 8 -1,1E-05 0,00390625
1,38671 1,38867 1,38769 0,00203
9 2 5 -0,00521 8 -0,0016 8,33E-06 0,001953125
1,38769 1,38867 1,38818 0,00203 0,00021
5 2 4 -0,0016 8 6 -3,4E-07 0,000976563
1,38769 1,38818 1,38793 0,00021
5 4 9 -0,0016 6 -0,00069 1,11E-06 0,000488281
1,38793 1,38818 1,38806 0,00021
9 4 2 -0,00069 6 -0,00024 1,65E-07 0,000244141
1,38806 1,38818 1,38812 0,00021
2 4 3 -0,00024 6 -1,2E-05 2,76E-09 0,00012207
1,38812 1,38818 1,38815 0,00021 0,00010
3 4 3 -1,2E-05 6 2 -1,2E-09 6,10352E-05
1,38812 1,38815 1,38813 0,00010
3 3 8 -1,2E-05 2 4,52E-05 -5,2E-10 3,05176E-05
1,38812 1,38813
3 8 1,38813 -1,2E-05 4,52E-05 1,68E-05 -1,9E-10 1,52588E-05
1,38812 1,38812
3 1,38813 6 -1,2E-05 1,68E-05 2,63E-06 -3E-11 7,62939E-06
Jadi, akar yang diperoleh dari f ( x )=x 3 +2 x−3 adalah 1,388126 pada iterasi ke 18
Exercise 3.2
2. find a root of f ( x )=x 3 +2 x−3 in the range 0 ≤ x ≤ 7/5 using the method of false
position
Penyelesaian:
f (x)= x3 +2 x−3
Iterasi 1:
Ambil a=0 dan b=7/5, maka:
f (0) ¿( 0)3 +2( 0)−3=−3
7 3 7
() ()
f ( 7 /5 )=
5
+2
5
−3=2.544
Penyelesaian:
f (x)=e2 x −7=0
Iterasi 1:
Ambil a=0 dan b=1, maka:
f (0) ¿ e 0−7=−6
f ( 1 ) =e2 −7=0.389
0.389 ( 0 )−(−6 ( 1 )) 6
c ¿ = =0.939
0.389− (−6 ) 6.389
f ( 0.971 ) =e 1.942−7=−0.027
f ( 0.939 ) ∙ f (0.971)>0 , maka a=c=0.971danb=1
Iterasi 3:
0.389 ( 0.971 )−(−0.027 (1 )) 0.377+0.027
c ¿ = =0.9711
0.389−(−0.027) 0.416
Jadi, akar yang diperoleh dari f ( x )=e2 x −7=0 setelah 3 iterasi dengan di beri batas
atas dan bawah [ 0,1 ] menggunakan Metode Regula Falsi adalah 0.9711
f ( x )=−e−x +sin x to four decimal places. Observe there are infinitely many roots. If
xn
x n is the nth root, calculate the ratios , n=1,2 ,… Based on the evidence of these
nπ
calculations, guess the value of
xn
lim
n→∞ nπ
Exercise 3.3
3. Solve the following equations using the fixed point iteration method:
a) x=sin x + x+ 1, in [ 3.5,5 ]
b) x=√ x 2+1−x+ 1, in [ 0,3 ]
c) x=ln x 2 + x−2 ,in [ −4 ,−2 ]