Numerical Methods for Engineers
Numerical Methods for Engineers
7th Edition
ISBN: 9780073397924
Author: Steven C. Chapra Dr., Raymond P. Canale
Publisher: McGraw-Hill Education
bartleby

Concept explainers

bartleby

Videos

Textbook Question
100%
Book Icon
Chapter 6, Problem 2P

Determine the highest real root of

f ( x ) = 2 x 3 11.7 x 2 + 17.7 x 5

(a) Graphically.

(b) Fixed-point iteration method (three iterations, x 0 = 3 ). Note: Make certain that you develop a solution that converges on the root.

(c) Newton-Raphson method (three iterations, x 0 = 3 ).

(d) Secant method (three iterations, x 1 = 3 , x 0 = 4 ).

(e) Modified secant method (three iterations, x 0 = 3 , δ = 0.01 ).

Compute the approximate percent relative errors for your solutions.

(a)

Expert Solution
Check Mark
To determine

To calculate: The highest real root of the function f(x)=2x311.7x2+17.7x5 by the use of graphical method.

Answer to Problem 2P

Solution:

The highest real root of the function f(x)=2x311.7x2+17.7x5 is 3.6.

Explanation of Solution

Given:

The function, f(x)=2x311.7x2+17.7x5.

Formula used:

The roots of the function are the points at which the graph of the function crosses the x-axis.

Calculation:

Consider the function,

f(x)=2x311.7x2+17.7x5

Substitute different values of x and find the corresponding values of f(x) to graph the function f(x)=2x311.7x2+17.7x5,

For x=0,

f(0)=2(0)311.7(0)2+17.7(0)5=00+05=5

For x=1,

f(1)=2(1)311.7(1)2+17.7(1)5=211.7+17.75=19.716.7=3

For x=2,

f(2)=2(2)311.7(2)2+17.7(2)5=1646.8+35.45=51.451.8=0.4

For x=3,

f(3)=2(3)311.7(3)2+17.7(3)5=54105.3+53.15=107.1110.3=3.2

For x=4,

f(4)=2(4)311.7(4)2+17.7(4)5=128187.2+70.85=198.8192.2=6.6

Summarize the above values as shown below,

x f(x)=2x311.7x2+17.7x5
0 5
1 3
2 0.4
3 3.2
4 6.6

Plot the above points on the graph and join them as below,

Numerical Methods for Engineers, Chapter 6, Problem 2P

From the above graph, it is observed that the graph of the function crosses the x-axis from three points. That is, approximately x=0.35, x=1.9 and x=3.6.

Hence, the highest real root of the function f(x)=2x311.7x2+17.7x5 is 3.6.

(b)

Expert Solution
Check Mark
To determine

To calculate: The highest real root of the function f(x)=2x311.7x2+17.7x5 by the use of fixed point iteration method with the initial guess x0=3 and up to three iterations.

Answer to Problem 2P

Solution:

The highest real root of the function f(x)=2x311.7x2+17.7x5 is 3.4425.

Explanation of Solution

Given:

The function, f(x)=2x311.7x2+17.7x5.

Formula used:

The simple fixed-point iteration formula for the function x=g(x),

xi+1=g(xi)

And, formula for approximate error is,

εa=|xi+1xixi+1|100%

Calculation:

Consider the function,

f(x)=2x311.7x2+17.7x5

The function can be formulated as fixed-point iteration as,

2x311.7x2+17.7x5=017.7x=2x3+11.7x2+5xi+1=2xi3+11.7xi2+517.7

Use initial guess x0=3, the first iteration is,

x0+1=2x03+11.7x02+517.7x1=2(3)3+11.7(3)2+517.7=54+105.3+517.7=3.18079

Therefore, the approximate error is,

εa=|3.1807933.18079|×100%=|0.180793.18079|×100%=|0.05683|×100%=5.683%

Use x1=3.18079, the second iteration is,

x1+1=2x13+11.7x12+517.7x2=2(3.18079)3+11.7(3.18079)2+517.7=64.3628+118.3739+517.7=3.333959

Therefore, the approximate error is,

εa=|3.3339593.180793.333959|×100%=|0.1531693.333959|×100%=|0.04594|×100%=4.594%

Use x2=3.333959, the third iteration is,

x2+1=2x23+11.7x22+517.7x3=2(3.333959)3+11.7(3.333959)2+517.7=74.1158+130.0488+517.7=3.4425

Therefore, the approximate error is,

εa=|3.44253.3339593.4425|×100%=|0.1085413.4425|×100%=|0.0315297|×100%=3.153%

Thus, all the iteration can be summarized as below,

i xi εa=|xi+1xixi+1|100%
0 3
1 3.18079 5.683%
2 3.333959 4.594%
3 3.4425 3.153%

Hence, the highest root is 3.4425.

(c)

Expert Solution
Check Mark
To determine

To calculate: The highest real root of the function f(x)=2x311.7x2+17.7x5 by the use of Newton-Raphson method with the initial guess x0=3 and up to three iterations.

Answer to Problem 2P

Solution:

The highest real root of the function f(x)=2x311.7x2+17.7x5 is 3.792837.

Explanation of Solution

Given:

The function, f(x)=2x311.7x2+17.7x5.

Formula used:

The Newton-Raphson formula,

xi+1=xif(xi)f(xi)

And, formula for approximate error is,

εa=|xi+1xixi+1|100%

Calculation:

Consider the function,

f(x)=2x311.7x2+17.7x5

Differentiate the above function with respect to x,

f(x)=ddx(2x311.7x2+17.7x5)=ddx(2x3)+ddx(11.7x2)+ddx(17.7x)+ddx(5)=2×3x211.7×2x+17.70=6x223.4x+17.7

The initial guess is x0=3, thus the first iteration is,

x0+1=x0f(x0)f(x0)x1=3{2(3)311.7(3)2+17.7(3)5}{6(3)223.4(3)+17.7}=3(3.21.5)=5.133

Therefore, the approximate error is,

εa=|5.13335.133|×100%=|2.1335.133|×100%=|0.41555|×100%=41.555%

Use x1=5.133, the second iteration is,

x1+1=x1f(x1)f(x1)x2=5.133{2(5.133)311.7(5.133)2+17.7(5.133)5}{6(5.133)223.4(5.133)+17.7}=5.133(48.071555.6739)=4.26955

Therefore, the approximate error is,

εa=|4.269555.1334.26955|×100%=|0.863454.26955|×100%=|0.20223|×100%=20.223%

Use x2=4.26955, the third iteration is,

x2+1=x2f(x2)f(x2)x3=4.26955{2(4.26955)311.7(4.26955)2+17.7(4.26955)5}{6(4.26955)223.4(4.26955)+17.7}=4.26955(12.950827.16687)=3.792837

Therefore, the approximate error is,

εa=|3.7928374.269553.792837|×100%=|0.4767133.792837|×100%=|0.12569|×100%=12.569%

Similarly, all the iteration can be summarized as below,

i xi εa=|xi+1xixi+1|100%
0 3
1 5.133 41.555%
2 4.26955 20.223%
3 3.792837 12.569%

Hence, the highest root is 3.792837.

(d)

Expert Solution
Check Mark
To determine

To calculate: The highest real root of the function f(x)=2x311.7x2+17.7x5 by the use of Secant method with the initial guess x1=3 and x0=4 and up to three iterations.

Answer to Problem 2P

Solution:

The highest real root of the function f(x)=2x311.7x2+17.7x5 is 3.58629.

Explanation of Solution

Given:

The function, f(x)=2x311.7x2+17.7x5.

Formula used:

The iterative equation of secant method is,

xi+1=xif(xi)(xi1xi)f(xi1)f(xi)

And, formula for approximate error is,

εa=|xi+1xixi+1|100%

Calculation:

Consider the function,

f(x)=2x311.7x2+17.7x5

The initial guess is x1=3 and x0=4, thus the first iteration is,

x0+1=x0f(x0)(x01x0)f(x01)f(x0)x1=4[{2(4)311.7(4)2+17.7(4)5}(34)][{2(3)311.7(3)2+17.7(3)5}{2(4)311.7(4)2+17.7(4)5}]=4[{6.6}(1)][{3.2}{6.6}]=3.3265

Therefore, the approximate error is,

εa=|3.326543.3265|×100%=|0.67353.3265|×100%=|0.2025|×100%=20.25%

Use x1=3.3265, the second iteration is,

x1+1=x1f(x1)(x11x1)f(x11)f(x1)x2=3.3265[{2(3.3265)311.7(3.3265)2+17.7(3.3265)5}(43.3265)][{2(4)311.7(4)2+17.7(4)5}{2(3.3265)311.7(3.3265)2+17.7(3.3265)5}]=3.3265[{1.969}(0.6735)][{6.6}{1.969}]=3.4812

Therefore, the approximate error is,

εa=|3.48123.32653.4812|×100%=|0.15743.4812|×100%=|0.04443|×100%=4.443%

Use x2=3.4812, the third iteration is,

x2+1=x2f(x2)(x21x2)f(x21)f(x2)x3=3.4812[{2(3.4812)311.7(3.4812)2+17.7(3.4812)5}(3.32653.4812)][{2(3.3265)311.7(3.3265)2+17.7(3.3265)5}{2(3.4812)311.7(3.4812)2+17.7(3.4812)5}]=3.4812[{0.7965}(0.1547)][{1.969}{0.7965}]=3.58629

Therefore, the approximate error is,

εa=|3.586293.48123.58629|×100%=|0.105093.58629|×100%=|0.02930|×100%=2.93%

Similarly, all the iteration can be summarized as below,

i xi εa=|xi+1xixi+1|100%
0 4
1 3.3265 20.25%
2 3.4812 4.443%
3 3.58629 2.93%

Hence, the highest root is 3.58629.

(e)

Expert Solution
Check Mark
To determine

To calculate: The highest real root of the function f(x)=2x311.7x2+17.7x5 by the use of modified Secant method with the initial guess x0=3 and δ=0.01 and up to three iterations.

Answer to Problem 2P

Solution:

The highest real root of the function f(x)=2x311.7x2+17.7x5 is 3.7429.

Explanation of Solution

Given:

The function, f(x)=2x311.7x2+17.7x5.

Formula used:

The iteration formula for modified secant method is,

xi+1=xiδxif(xi)f(xi+δxi)f(xi)

And, formula for approximate error is,

εa=|xi+1xixi+1|100%

Calculation:

Consider the function,

f(x)=2x311.7x2+17.7x5

Use initial guess of x0=3 and δ=0.01, the first iteration is,

x0+1=x0δx0f(x0)f(x0+δx0)f(x0)x1=30.01×3×f(3)f(3+0.01×3)f(3)=30.03{2(3)311.7(3)2+17.7(3)5}{2(3.03)311.7(3.03)2+17.7(3.03)5}{2(3)311.7(3)2+17.7(3)5}=30.03×{3.2}{3.149276}{3.2}

Simplify furthermore,

x1=3(0.096)(0.050724)=3(1.89259)=3+1.89259=4.89259

Therefore, the approximate error is,

εa=|4.8925934.89259|×100%=|1.892594.89259|×100%=38.68%

Use x1=4.89259 and δ=0.01, the second iteration is,

x1+1=x1δx1f(x1)f(x1+δx1)f(x1)x2=4.892590.01×4.89259×f(4.89259)f(4.89259+0.01×4.89259)f(4.89259)=4.892590.049{2(4.89259)311.7(4.89259)2+17.7(4.89259)5}{2(4.9415)311.7(4.9415)2+17.7(4.9415)5}{2(4.89259)311.7(4.89259)2+17.7(4.89259)5}=4.892590.049×{35.763}{38.096}{35.763}

Simplify furthermore,

x2=4.892590.049×{35.763}{38.096}{35.763}=4.892591.75242.333=4.892590.75114=4.14145

Therefore, the approximate error is,

εa=|4.141454.892594.14145|×100%=|0.751144.14145|×100%=18.14%

Use x2=4.14145 and δ=0.01, the third iteration is,

x2+1=x2δx2f(x2)f(x2+δx2)f(x2)x3=4.141450.01×4.14145×f(4.14145)f(4.14145+0.01×4.14145)f(4.14145)=4.141450.041415{2(4.14145)311.7(4.14145)2+17.7(4.14145)5}{2(4.183)311.7(4.183)2+17.7(4.183)5}{2(4.14145)311.7(4.14145)2+17.7(4.14145)5}=4.141450.041415×{9.6949}{10.7025}{9.6949}

Simplify furthermore,

x3=4.141450.041415×{9.6949}{10.7025}{9.6949}=4.141450.40151.0076=4.141450.3985=3.7429

Therefore, the approximate error is,

εa=|3.74294.141453.7429|×100%=|0.398553.7429|×100%=10.65%

Similarly, all the iteration can be summarized as below,

i xi εa=|xi+1xixi+1|100%
0 3
1 4.89259 38.68%
2 4.14145 18.14%
3 3.7429 10.65%

Hence, the highest root is 3.7429.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!

Chapter 6 Solutions

Numerical Methods for Engineers

Additional Math Textbook Solutions

Find more solutions based on key concepts
Knowledge Booster
Background pattern image
Advanced Math
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, advanced-math and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
Finding Local Maxima and Minima by Differentiation; Author: Professor Dave Explains;https://www.youtube.com/watch?v=pvLj1s7SOtk;License: Standard YouTube License, CC-BY