100% found this document useful (1 vote)
561 views2 pages

MTH603 Assignment 1 Solution Spring 2021 Question NO 1

The document provides the solution to two questions using the Newton-Raphson method to find roots of equations. For question 1, the method is applied to find the root of x3 + 2x2 +10x - 20 = 0, determining the root to be 1.3688 after three iterations. For question 2, the initial bracket containing the root is determined for the equation x3 - x - 11 = 0 by evaluating the function at different x values and finding where the sign changes, identifying the bracket as between 2 and 2.25.

Uploaded by

Rana Ali
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
100% found this document useful (1 vote)
561 views2 pages

MTH603 Assignment 1 Solution Spring 2021 Question NO 1

The document provides the solution to two questions using the Newton-Raphson method to find roots of equations. For question 1, the method is applied to find the root of x3 + 2x2 +10x - 20 = 0, determining the root to be 1.3688 after three iterations. For question 2, the initial bracket containing the root is determined for the equation x3 - x - 11 = 0 by evaluating the function at different x values and finding where the sign changes, identifying the bracket as between 2 and 2.25.

Uploaded by

Rana Ali
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

www.vustudentshelp.

com
MTH603 Assignment 1 Solution Spring 2021
Question NO 1
Find a root of the given equation using Newton-Raphson Method Keep values
correct to four decimal places.

Solution
x3  2x2 10x - 20 = 0
Take intial value x 0 = 1.5
x3  2x2 10x - 20 = 0
f (x)  x3  2x2 10x - 20
d/dx(x3  2x2 10x - 20)
= 3x2  4x 10
f ' (x)  3x2  4x 10
x0  1.3736

Iteration (1)
f (x0 )  f (1.5)  2.875
f '(x 0)  f '(1.5)  22.75
x  x  f (x ) / f '(x )
1 0 0 1

x1  1.3736

Iteration (2)
f (x1 )  f (1.3736)  0.1018
f ' (x1 )  f '(1.3736)  21.1551
x  x  f (x ) / f '(x )
2 1 1 1

x2  1.3688

Iteration (3)
f (x2 )  f (1.3688)  0.0001
f ' (x2 ) f '(1.3688)  21.0962

x  x  f (x ) / f '(x )
3 2 2 2

x3  1.3688

Hence the calculated root of the given equation using Newton-Rophson Megthod Upto four decimal
places is 1.3688
Question NO 2
Identify the intitial bracket (x0 , x1 ) First

Solution
x 0 1 2 3
F(x) -11 -11 -5 -13

Given
x3  x 11  0
f (x)  x3  x 11

f (2)  5  0 and f (3) 13 


0 Now root lie btween 2 and
3
(iteration 1)
f (2)  5  0 and f (3) 13  0
x0  2  3 / 2  2.5
f (x0 )  f (2.5)  2.215  0

(iteration 2)
f (2)  5  0 and f (2.5)  2.125  0
x1  2  2.5 / 2  2.25
f (x1 )  f (2.5)  1.8594  0
Hence root lies between 2 and 2.25

(iteration 3)
f (2.25)  1.8594  0
f (2.25)  2.125  0
Now root lie between 2.25 and 2.50
x2  2.25 +2.5 / 2 = 2.375

You might also like