You are on page 1of 28

1st iteration

3
𝑓 𝑥 =2𝑥 + 5x-8
a=1 b=2
3 3
𝑓 𝑎 = 2𝑎 + 5a-8 = 2(1) +5(1)-8 = -1
3 3
𝑓 𝑏 = 2𝑏 + 5b-8 = 2(2) +5(2)-8 = 18

𝑎+𝑏 1+3
C= = =1.5
2 2
3 3
𝑓 𝑐 = 2𝑐 + 5c-8 = 2(1.5) +5(1.5)-8 = 6.25
b-a=2-1=1
Set
c=b=1.5
2nd iteration
3
𝑓 𝑥 =2𝑥 + 5x-8
a=1 b= 1.5
3 3
𝑓 𝑎 = 2𝑎 + 5a-8 = 2(1) +5(1)-8 = -1
3 3
𝑓 𝑏 = 2𝑏 + 5b-8 = 2(1.5) +5(1.5)-8 = 6.25

𝑎+1.5 1+1.5
C= = =1.25
2 3 2 3
𝑓 𝑐 = 2𝑐 + 5c-8 = 2(1.25) +5(1.25)-8 = 2.15625
b-a=1.5-1=0.5
Set
C=b= 1.25
3rd iteration
3
𝑓 𝑥 =2𝑥 + 5x-8
a=1 b= 1.25
3 3
𝑓 𝑎 = 2𝑎 + 5a-8 = 2(1) +5(1)-8 = -1
3 3
𝑓 𝑏 = 2𝑏 + 5b-8 = 2(1.25) +5(1.25)-8 = 2.15625

𝑎+𝑏 1+1.25
C= = =1.125
2 3 2 3
𝑓 𝑐 = 2𝑐 + 5c-8 = 2(1.125) +5(1.125)-8 =0.473656
b-a= 1.25 -1=0.25
Set
C=b= 1.125
4th iteration
3
𝑓 𝑥 =2𝑥 + 5x-8
a=1 b= 1.125
3 3
𝑓 𝑎 = 2𝑎 + 5a-8 = 2(1) +5(1)-8 = -1
3 3
𝑓 𝑏 = 2𝑏 + 5b-8 = 2(1.125) +5(1.125)-8 = 0.473656

𝑎+𝑏 1+1.125
C= = =1.0625
2 3 2 3
𝑓 𝑐 = 2𝑐 + 5c-8 = 2(1.0625) +5(1.0625)-8 =-0.02887
b-a= 1.125 -1=0.125
Set
C=a= 1.0625
5th iteration
3
𝑓 𝑥 =2𝑥 + 5x-8
a= 1.0625 b= 1.125
3 3
𝑓 𝑎 = 2𝑎 + 5a-8 = 2(1.0625) +5(1.0625)-8 = - 0.02887
3 3
𝑓 𝑏 = 2𝑏 + 5b-8 = 2(1.125) +5(1.125)-8 = 0.473656

𝑎+𝑏 1.0625+1.125
C= = =1.09375
2 3 2 3
𝑓 𝑐 = 2𝑐 + 5c-8 = 2(1.09375) +5(1.09375)-8 =0.085632
b-a= 1.125 - 1.0625 =0.0625
Set
C=b= 1.09375
6th iteration
𝑓 𝑥 =2𝑥 3 + 5x-8
a= 1.0625 b= 1.09375
𝑓 𝑎 = 2𝑎3 + 5a-8 = 2(1.0625)3 +5(1.0625)-8 = - 0.02887
𝑓 𝑏 = 2𝑏 3 + 5b-8 = 2(1.09375)3 +5(1.09375)-8 = 0.085632

𝑎+𝑏 1.0625+1.09375
C= = =1.078125
2 2
𝑓 𝑐 = 2𝑐 3 + 5c-8 = 2(1.078125)3 +5(1.078125)-8 =-0.10305
b-a= 1.09375 - 1.0625 =0.03125
Set
C=a= 1.078125
7th iteration
𝑓 𝑥 =2𝑥 3 + 5x-8
a= 1.078125 b= 1.09375
𝑓 𝑎 = 2𝑎3 + 5a-8 = 2(1.078125)3 +5(1.078125)-8 = - 0.10305
𝑓 𝑏 = 2𝑏 3 + 5b-8 = 2(1.09375)3 +5(1.09375)-8 = 0.085632

𝑎+𝑏 1.078125+1.09375
C= = =1.085938
2 2
𝑓 𝑐 = 2𝑐 3 + 5c-8 = 2(1.085938)3 +5(1.085938)-8 =-0.00911
b-a= 1.09375 - 1.078125 =0.015625
Set
C=a= 1.085938
8th iteration
𝑓 𝑥 =2𝑥 3 + 5x-8
a= 1.085938 b= 1.09375
3 3
𝑓 𝑎 = 2𝑎 + 5a-8 = 2(1.085938) +5(1.085938)-8 = - 0.10305
3 3
𝑓 𝑏 = 2𝑏 + 5b-8 = 2(1.09375) +5(1.09375)-8 = 0.085632

𝑎+𝑏 1.085938+1.09375
C= = =1.089844
2 2
3 3
𝑓 𝑐 = 2𝑐 + 5c-8 = 2(1.089844) +5(1.089844)-8 =0.038163
b-a= 1.09375 - 1.085938 =0.0078125
Since we have now a succeeding
opposing sign value of our x then that
will be our interval. Then the interval now
will be at (1,2) this is where the root or
the value of x that will make f(x)=0 will
located.
1st iteration
3
𝑓 𝑥 =2𝑥 -2x-5
a=1 b=2
3 3
𝑓 𝑎 = 2𝑎 -2a-5 = 2(1) -2(1)-5 = -5
𝑓 𝑏 = 2𝑏 3 -2b-5 = 2(2)3 -2(2)-5 = 7

𝑓(𝑎)(𝑏 − 𝑎)
𝑥𝑛 = a −
f(b) − f(a)
(−5)(2−1)
𝑥𝑛 = 1 − = 1.41667
(7)−(−5)

𝑓 𝑥𝑛 = 2𝑥𝑛 3 - 2 𝑥𝑛 - 5 = 2(1.41667 )3 -2(1.41667)-5 = -2.14699


Set
𝑥𝑛 = a= 1.41667
2nd iteration
𝑓 𝑥 =2𝑥 3 -2x-5
a= 1.41667 b=2
𝑓 𝑎 = 2𝑎3 -2a-5 = 2(1.41667)3 -2(1.41667)-5 = -2.14699
𝑓 𝑏 = 2𝑏 3 -2b-5 = 2(2)3 -2(2)-5 = 7
𝑓(𝑎)(𝑏 − 𝑎)
𝑥𝑛 = a −
f(b) − f(a)
(−2.14699)(2−1.41667)
𝑥𝑛 = 1 − = 1.55359
(7)−(−2.14699)
3 3
𝑓 𝑥𝑛 = 2𝑥𝑛 - 2 𝑥𝑛 - 5 = 2(1.55359) -2(1.55359)-5 = -0.15063
Set
𝑥𝑛 = a= 1.55359
3rd iteration
𝑓 𝑥 =2𝑥 3 -2x-5
a= 1.55359 b=2
3 3
𝑓 𝑎 = 2𝑎 -2a-5 = 2(1.55359) -2(1.55359)-5 = -0.60759
𝑓 𝑏 = 2𝑏3 -2b-5 = 2(2)3 -2(2)-5 = 7
𝑓(𝑎)(𝑏 − 𝑎)
𝑥𝑛 = a −
f(b) − f(a)
(−0.60759 )(2−1.55359)
𝑥𝑛 = 1 − = 1.58924
(7)−(−0.60759 )
𝑓 𝑥𝑛 = 2𝑥𝑛 3 - 2 𝑥𝑛 - 5 = 2(1.58924)3 -2(1.58924)-5 = -0.60759
Set
𝑥𝑛 = a= 1.58924
4th iteration
𝑓 𝑥 =2𝑥 3 -2x-5
a= 1.58924 b=2
3 3
𝑓 𝑎 = 2𝑎 -2a-5 = 2(1.58924) -2(1.58924)-5 = -0.15063
𝑓 𝑏 = 2𝑏3 -2b-5 = 2(2)3 -2(2)-5 = 7
𝑓(𝑎)(𝑏 − 𝑎)
𝑥𝑛 = a −
f(b) − f(a)
(−0.15063)(2−1.58924)
𝑥𝑛 = 1 − =1.59789
(7)−(−0.15063)
𝑓 𝑥𝑛 = 2𝑥𝑛 3 - 2 𝑥𝑛 - 5 = 2(1.59789)3 -2(1.59789)-5 = -0.03610
Set
𝑥𝑛 = a= 1.59789
5th iteration
𝑓 𝑥 =2𝑥 3 -2x-5
a= 1.59789 b=2
3 3
𝑓 𝑎 = 2𝑎 -2a-5 = 2(1.59789) -2(1.59789)-5 = -0.03610
𝑓 𝑏 = 2𝑏3 -2b-5 = 2(2)3 -2(2)-5 = 7
𝑓(𝑎)(𝑏 − 𝑎)
𝑥𝑛 = a −
f(b) − f(a)
(−0.03610)(2−1.59789)
𝑥𝑛 = 1 − =1.59996
(7)−(−0.03610 )
𝑓 𝑥𝑛 = 2𝑥𝑛 3 - 2 𝑥𝑛 - 5 = 2(1.59996)3 -2(1.59996)-5 = -0.00858
Set
𝑥𝑛 = a= 1.59996
6th iteration
𝑓 𝑥 =2𝑥 3 -2x-5
a= 1.59996 b=2
3 3
𝑓 𝑎 = 2𝑎 -2a-5 = 2(1.59996) -2(1.59996)-5 = -0.00858
𝑓 𝑏 = 2𝑏3 -2b-5 = 2(2)3 -2(2)-5 = 7
𝑓(𝑎)(𝑏 − 𝑎)
𝑥𝑛 = a −
f(b) − f(a)
(−0.00858)(2−1.59996)
𝑥𝑛 = 1 − =1.60045
(7)−(−0.00858)
𝑓 𝑥𝑛 = 2𝑥𝑛 3 - 2 𝑥𝑛 - 5 = 2(1.60045)3 -2(1.60045)-5 = -0.00203
Set
𝑥𝑛 = a= 1.60045
7th iteration
3
𝑓 𝑥 =2𝑥 -2x-5
a= 1.60045 b=2
3 3
𝑓 𝑎 = 2𝑎 -2a-5 = 2(1.60045) -2(1.60045)-5 = -0.00858
𝑓 𝑏 = 2𝑏 3 -2b-5 = 2(2)3 -2(2)-5 = 7

𝑓(𝑎)(𝑏 − 𝑎)
𝑥𝑛 = a −
f(b) − f(a)

(−0.00858)(2−1.60045)
𝑥𝑛 = 1 − =1.60056
(7)−(−0.00858)
3 3
𝑓 𝑥𝑛 = 2𝑥𝑛 - 2 𝑥𝑛 - 5 = 2(1.60056) -2(1.60056)-5 = -0.00048

You might also like