0% found this document useful (0 votes)
55 views2 pages

Group-2 ID: 2183081043 Example: Using Bisection Method Find A Positive Root of The Equation X Sinx 1 Correct

Using the bisection method, the document finds the positive root of the equation x sinx = 1 to 3 decimal places. It defines the function f(x)=x sinx - 1, determines the interval that contains the root between 0 and π/2, and iterates the bisection method by calculating f(xn) at the midpoint of each interval. The root is determined to be 1.570 to 3 decimal places. Then, using the Newton-Raphson method with the same equation and initial value of π, successive approximations quickly converge to the root of 2.7984 in 4 iterations.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views2 pages

Group-2 ID: 2183081043 Example: Using Bisection Method Find A Positive Root of The Equation X Sinx 1 Correct

Using the bisection method, the document finds the positive root of the equation x sinx = 1 to 3 decimal places. It defines the function f(x)=x sinx - 1, determines the interval that contains the root between 0 and π/2, and iterates the bisection method by calculating f(xn) at the midpoint of each interval. The root is determined to be 1.570 to 3 decimal places. Then, using the Newton-Raphson method with the same equation and initial value of π, successive approximations quickly converge to the root of 2.7984 in 4 iterations.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

GROUP- 2

ID: 2183081043

Example: Using bisection method find a positive root of the equation x sinx = 1 Correct
to 3 decimal Places.

Solution:

Letf ( x )=x sinx = 1 or x sinx -1=0

π
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

Preceding in this way the following table is bellowed:

n a(-) b(+) xn f (x)=x sinx = 1


0 0 π π
=1.570 4 0+
2 2 −0.9892
x 0= =0.7853
2
0 0 1.5704 0.7853 -0.9892
1 0.7853 1.5704 0.6167 -0.9933
2 0.6167 1.5704 0.1093 -0.9779
3 0.1093 1.5704 1.3303 -0.9691
4 1.3303 1.5704 1.4505 -0.9632
5 1.4505 1.5704 1.5106 -0.9586
6 1.5106 1.5704 1.5406 -0.9585
7 1.5406 1.5704 1.5556 -0.9577
8 1.5556 1.5704 1.5633 -0.9573
9 1.5633 1.5704 1.5670 -0.9571
10 1.5670 1.5704 1.5688 -0.9569
11 1.5688 1.5704 1.5697 -0.9568
12 1.5697 1.5704 1.5702 -0.9567
13 1.5702 1.5704 1.5704 -0.9565
14 1.5704 1.5704 1.5704 -0.9563

So the required root is 1.570 which correct to 3 decimal places.


GROUP- 2
ID: 2183081043

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

Here we have the formula,


f (x ) f (x )
x n+1=x 0 − ' 0 =x n− ' n
f (x 0) f ( xn)
x n sin x n−1
¿ x n−
x n sin x n+ cos x n
Take x 0=π

So, x 0=3.1416 and the successive approximation are given below,

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

So the required root is 2.7984.

You might also like