You are on page 1of 3

Assignment No#1

MTH603

Q.NO.1

SOL:

3 2
x  2 x  10 x  20  0
Solution:

f ( x )  x3  2 x 2 10 x  20

f ' ( x ) 3 x 2  4 x 10
As x 0 1.5

first we find f (1.5) and f ' (1.5)

f (x 0 )(1.5)3  2(1.5)10(1.5)  20
 2.875

f ' (x 0 ) 3(1.5)2  4(1.5) 10


 22.75
1st Ietration:
f ( x0 )
x1 x0 
f ' ( x0 )
2.875
1.5
22.75
1.50.12637
x  1.3736
1
2nd Ietration:
x  1.3736
1
f ( x1) (1.3736)3  2(1.3736) 2 10(1.3736)  20

0.10117

f ' ( x1 )3(1.3736)2  4(1.3736) 10


 21.1547
Now
f ( x1 )
x2  x1 
f ' ( x1 )
0.10117
1.3736
21.15473
1.37360.00478
1.3688

3rd Ietration:
x2 1.3688

f ( x2 ) (1.3688)3  2(1.3688)2 10(1.3688) 20


 20.0002 20

0.0002

f ' ( x2 ) 3(1.3688)2  4(1.3688) 10

 21.0963
f ( x2 )
x3  x2 
f ' ( x2 )
0.0002
1.3688
21.0963
1.36880.0000094

1.3688
as 2nd and 3rd ietration values are correct
Hence Required solution is 1.3688

Q.NO.2

SOL:
3
x  x  11  0
Solution:

f ( x )  x3  x 11
for value of x 0 and x1
f (0) 11, f (1) 11
f (2) 5, f (3) 13
f (2) f (3)0 so root lies between 2 and 3
x 0  2 and x13
x +x
x2  0 1
2
2 3 5
x2    2.5
2 2
f (2.5)(2.5)3 (2.5)11
 2.1250
f (2)0, f ( 2.5) 0
so root lies between f (2) and f (2.5)
x +x
x3  0 2
2
2 2.5 4.5
x3    2.25
2 2
f (2.25) (2.25)3 (2.25) 11
1.8593
f (2.5)0, f (2.25)0
root lies between 2.5 and 2.25
x +x
x4  2 3
2
2.5 2.25 4.75
   2.375
2 2
f (2.375) (2.375)3 (2.375) 11
0.02148
f (2.375) 0, f (2.25)0
So root lies between 2.375 and 2.25

You might also like