Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Methods for Finding Real Roots of Equations in MTH603 (Spring 2012), Exercises of Mathematics

The solutions to assignment #1 in mth603 (spring 2012) for finding real roots of equations using the bisection method, regula-fasli method, and newton-raphson method. The solutions include the calculations and approximations for each method.

Typology: Exercises

2011/2012

Uploaded on 08/03/2012

roocky
roocky 🇮🇳

4

(1)

51 documents

1 / 8

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Solution File Assignment # 1
MTH603 (Spring 2012)
Total marks: 10
Lecture # 01-08
Due date: 15-04-2012
Dear students as it was told There are 4 questions in the assignment but only one
question will be graded. Question 2 will be graded.
Question#1 Marks 10
Find the real root of the equation 3
220xx
 correct to three decimal places by
Bisection method.
Perform three iterations only.
Note: Take any interval in which roots of the equation lie.
Solution:
Consider the interval (0,1).
Since

3
3
220
220
xx
fx x x




3
3
02(0)02 2
12(1)121
f
f


Since f(0)f(1) < 0 Therefore the root lies between 0 and 1.
1st Iteration
Let say x1 = 0 and x2 = 1
12
3
3
01 1 0.5
222
(0.5) 2(0.5) 0.5 2 1.25
xx
x
f



docsity.com
pf3
pf4
pf5
pf8

Partial preview of the text

Download Methods for Finding Real Roots of Equations in MTH603 (Spring 2012) and more Exercises Mathematics in PDF only on Docsity!

Solution File Assignment # 1

MTH603 (Spring 2012) Total marks: 10 Lecture # 01- Due date: 15-04-

Dear students as it was told There are 4 questions in the assignment but only one question will be graded. Question 2 will be graded.

Question#1 Marks 10

Find the real root of the equation 2 x^3  x  2  0 correct to three decimal places by Bisection method. Perform three iterations only.

Note: Take any interval in which roots of the equation lie.

Solution: Consider the interval (0,1). Since

3 3

x x f x x x

3 3

f f

Since f(0)f(1) < 0 Therefore the root lies between 0 and 1.

1 st^ Iteration Let say x1 = 0 and x2 = 1

3 1 2 3

x^ x^ x f

 ^    

Since  f (0.5)  0, so we need to proceed further      2 nd^ Iteration Now f  ( x 2 (^) ) f ( x 3 )  0,  Therefor  root lie in the int erval   [ ]

4 2 3 3

x^ x^ x f

 ^    

Since ^ f^ (0.75)^ ^ 0, so we need to proceed further^ ^ ^ ^ ^  3 rd^ Iteration 1 4 5 1 4

( ) ( ) 0, [ 0.75,1]

Now f x f x Therefor root lie in x x^ x

 ^    

f (0.875)  2(0.875)^3  0.875  2 0. Therefore 0.875 is the approximate root of the given function after three iteration. Of course, this is not correct upto three decimal places. For that we need to do more iterations.

Question#2 Marks 10

Use Regula-Fasli method to find the real root of the equation ex^ ^3 x ^0 Correct to four decimal places after three successive approximations in 0 ^ x ^1

Note: All the calculation should be done in the radian mode only.

Solution:

Of course, this is not correct upto four decimal places. For that we need to do more iterations.

Question#3 Marks 10

Apply Newton-Raphson method to determine a root of the equation e x  10  x.

Correct to four decimal places. Only three iterations needed.

Note: All the calculation should be done in the radian mode only. Solution:

Find the root of the equation f ( ) x  cos xx  0 correct to five decimal places by Secant Method.

Solution: f ( ) x  cos xx  0 let x 0 (^)  0 and x 1  1    

0 1

(0) cos 0 0 1 (1) cos1 1 0.

f f f f

x

x

1st Iteration:

3 1 2 2 1 2 1 3 3

x x^ f^ x^ x f^ x f x f x x x

 ^ 

Now

f(x 3 ) = f( 0.68507) = cos ( 0.68507) – 0.68507 = 0.

2nd Iteration:

4 2 3 3 2 3 2 4 4

x x f^ x^ x f^ x f x f x x x

 ^ 

Now

f(x 4 ) = f( 0.73630 ) =0.

3rd Iteration:

5 3 4 4 3 4 3 5 5

x x f^ x^ x f^ x f x f x x x

Now

f(x 5 ) = f( 0.73912) = ‐0.

4th Iteration:

        6 4 5 5 4 5 4 0.73630(-0.00006) 0.73912(0.00466) 0.0006 0.

x x f^ x^ x f^ x f x f x

5th Iteration:

         

6 7 5 6 6 5 6 5

f x f x x f^ x^ x f^ x f x f x

 ^ 

Since the value of root in 4th^ and 5th^ iteration is same. We stop here and desired root of given equation is x 0.