Professional Documents
Culture Documents
Group-2 ID: 2183081043 Example: Using Bisection Method Find A Positive Root of The Equation X Sinx 1 Correct
Group-2 ID: 2183081043 Example: Using Bisection Method Find A Positive Root of The Equation X Sinx 1 Correct
ID: 2183081043
Example: Using bisection method find a positive root of the equation x sinx = 1 Correct
to 3 decimal Places.
Solution:
π
Here, f ( 0 )=−1, Let a=0 and b=
2
And f ( π2 )=0.5707
π
π 0+
So the root lies between 0 and and we take 2
2 x 0= =0.7853
2
and f ( x 0 ) =x sinx = 1 ,f ( 0.7853 )=0.7853∗sin ( 0.7853 )−1=−0.9892
Example: Use Newton-Raphson method to find a root the equation x sin x=1.
Solution:
Let f ( x )=¿ x sinx=1
= x sinx−¿1
'
f ( x )=x cosx +sinx
n xn f( x n) x n+1
0 3.1416 -1.0 2.8233
1 2.8233 -0.0660 2.7986
2 2.7986 -0.0006 2.7984
3 2.7984 0.0 2.7984