EBK NUMERICAL METHODS FOR ENGINEERS
EBK NUMERICAL METHODS FOR ENGINEERS
7th Edition
ISBN: 9780100254145
Author: Chapra
Publisher: YUZU
bartleby

Videos

Textbook Question
Book Icon
Chapter 5, Problem 4P

Determine the roots of f ( x ) = 12 21 x + 18 x 2 2.75 x 3 graphically. In addition, determine the first root of the function with (b) bisection, and (c) false position. For (b) and (c) use initial guesses of x l = 1 and  x u = 0 , and a stopping criterion of 1%.

(a)

Expert Solution
Check Mark
To determine

To calculate: The real roots of the equation f(x)=2.75x3+18x221x12 using the graphical method.

Answer to Problem 4P

Solution: Graphically, the real roots of the equation are approximated as 0.4, 2.2, and 4.8.

Explanation of Solution

Given Information: The equation f(x)=25+82x90x2+44x38x4+0.7x5.

Formula used: The roots of an equation can be represented graphically by the x-coordinate of the point where the graph intercepts the x-axis.

Calculation:

Use the following MATLAB code to plot the function f(x) with respect to independent variable x as,

% (a)

clear;clc;

% define the vector x

x = linspace(-1,5);

% define the function f(x)

y1 = -2.75*x.^3+18*x.^2-21*x-12;

y2 = 0;

% plot f(x)

plot(x, y1);

xlabel('x')

ylabel('f(x)')

grid on

hold on

line([-1,5],[y2, y2])

Execute the above code to obtain the plot as,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 5, Problem 4P

From the plot, the zeros of the equation are approximated as 0.4, 2.2 and 4.8.

(b)

Expert Solution
Check Mark
To determine

To calculate: The root of the equation f(x)=2.75x3+18x221x12 using the bisection method with xl and xu as 1 and 0, respectively, and with the stopping criteria being the iteration where εa falls below 1%.

Answer to Problem 4P

Solution: The root of the equation is approximated as 0.41797.

Explanation of Solution

Given Information: The function equation is f(x)=2.75x3+18x221x12.

Initial guesses are,

xl=1xu=0

Formula used: A root of an equation can be obtained using the bisection method as follows:

1. Choose two values of x, say a and b such that f(a)f(b)<0.

2. Estimate the root by x1=a+b2.

3. If, f(a)f(x1)<0, the root would lie between a and x1. Next, assume the next root to be x2=a+x12. If, f(a)f(x1)>0, the root would lie between b and x1. Now assume the next root to be x2=b+x12, and if f(a)f(x1)=0, the root is x1.

Calculation:

For the function f(x):

f(1)=2.75(1)3+18(1)221(1)12=29.75f(0)=2.75(0)3+18(0)221(0)12=12

Thus,

f(1)f(0)<0

Calculate the first root to be,

x1=1+02=0.5

Further,

f(0.5)=2.75(0.5)3+18(0.5)221(0.5)12=3.34375

Thus, f(0.5)f(0)<0. This implies that the root lies between 0.5 and 0.

Calculate the second root to be:

x2=0.5+02=0.25

The approximate error is computed as:

εa=(|0.25(0.5)0.25|×100)%=100%

Therefore, the approximate relative percentage error is 100%.

Furthermore,

f(0.25)=2.75(0.25)3+18(0.25)221(0.25)12=5.58203

Thus, f(0.5)f(0.25)<0. This implies that the root lies between 0.5 and 0.25.

Calculate the third root to be:

x3=0.5+(0.25)2=0.375

The approximate error is computed as:

εa=(|0.375(0.25)0.375|×100)%=33.3%

The approximate error is 33.3%.

Further,

f(0.375)=2.75(0.375)3+18(0.375)221(0.375)12=1.44873

Thus, f(0.5)f(0.375)<0. This implies that the root lies between 0.5 and 0.375.

Calculate the fourth root to be:

x4=0.5+(0.375)2=0.4375

The approximate error is computed as:

εa=(|0.4375(0.375)0.4375|×100)%=14.28%

The approximate error is 14.28%.

Thus,

f(0.4375)=2.75(0.4375)3+18(0.4375)221(0.4375)12=0.8631

Therefore, f(0.4375)f(0.375)<0. This implies that the root lies between 0.4375 and 0.375.

Calculate the fifth root to be:

x5=0.4375+(0.375)2=0.40625

The approximate error is computed as:

εa=(|0.40625(0.4375)0.40625|×100)%=7.69%

The approximate error is 7.69%.

Thus,

f(0.40625)=2.75(0.40625)3+18(0.40625)221(0.40625)12=0.31367

Therefore, f(0.4375)f(0.40625)<0. This implies that the root lies between 0.4375 and 0.40625.

Calculate the sixth root to be:

x6=0.4375+(0.40625)2=0.42188

The approximate error is computed as:

εa=(|0.42188(0.40625)0.42188|×100)%=3.7%

The approximate error is 3.7%.

Thus,

f(0.42188)=2.75(0.42188)3+18(0.42188)221(0.42188)12=0.26947

Therefore, f(0.42188)f(0.40625)<0. This implies that the root lies between 0.42188 and 0.40625.

Calculate the seventh root to be:

x7=0.42188+(0.40625)2=0.41406

The approximate error is computed as:

εa=(|0.41406(0.42188)0.41406|×100)%=1.89%

The approximate error is 1.89%.

Further,

f(0.41406)=2.75(0.41406)3+18(0.41406)221(0.41406)12=0.02341

Thus, f(0.42188)f(0.41406)<0. This implies that the root lies between 0.42188 and 0.41406.

Calculate the eighth root to be:

x8=0.42188+(0.41406)2=0.41797

The approximate error is computed as:

εa=(|0.41797(0.41406)0.41797|×100)%=0.93%

The approximate error is 0.93%.

As, εa is less than 1%, the process is stopped and root can be approximated as 0.41797.

(c)

Expert Solution
Check Mark
To determine

To calculate: The root of the equation f(x)=2.75x3+18x221x12 using the false-position method with xl and xu as 1 and 0, respectively, and with the stopping criteria being the iteration where εa falls below 1%.

Answer to Problem 4P

Solution: The root of the equation can be approximated as 0.41402.

Explanation of Solution

Given Information: The equation f(x)=2.75x3+18x221x12.

Initial guesses are,

xl=1xu=0

Formula used: A root of an equation can be obtained using the false-position method as follows:

1. Choose two values of x, say a and b such that f(a)f(b)<0.

2. Estimate the root by x1=bf(b)(ab)f(a)f(b).

3. If, f(a)f(x1)<0, the root would lie between a and x1. Next, assume the next root to be x2=x1f(x1)(ax1)f(a)f(x1). If, f(a)f(x1)>0, the root would lie between x1 and b. Now assume the next root to be x2=bf(b)(x1b)f(xi)f(b), and if f(a)f(x1)=0, the root is x1.

Calculation:

For the function f(x):

f(1)=2.75(1)3+18(1)221(1)12=29.75f(0)=2.75(0)3+18(0)221(0)12=12

Thus,

f(1)f(0)<0

Calculate the first root to be,

x1=1(29.75)(10)29.75(12)=0.28743

Now,

f(0.28743)=2.75(0.28743)3+18(0.28743)221(0.28743)12=4.41173

Thus, f(1)f(0.28743)<0. This implies that the root lies between 1 and 0.28743.

Calculate the second root to be:

x2=1(29.75)(1(0.28743))29.75(4.41173)=0.37945

The approximate error is computed as:

εa=(|0.37945(0.28743)0.58802|×100)%=24.25%

The approximate relative percentage error is 24.25%.

Further,

f(0.37945)=2.75(0.37945)3+18(0.37945)221(0.37945)12=1.28966

Thus, f(1)f(0.37945)<0. This implies that the root lies between 1 and 0.37945.

Calculate the third root to be:

x3=1(29.75)(1(0.37945))29.75(1.28966)=0.40523

The approximate error is computed as:

εa=(|0.40523(0.37945)0.40523|×100)%=6.36%

The approximate error is 6.36%.

Now,

f(0.40523)=2.75(0.40523)3+18(0.40523)221(0.40523)12=0.35129

Thus, f(1)f(0.40529)<0. This implies that the root lies between 1 and 0.40529.

Calculate the fourth root to be:

x4=1(29.75)(1(0.40529))29.75(0.35129)=0.41217

The approximate error is computed as:

εa=(|0.41217(0.40529)0.41217|×100)%=1.68%

The approximate error is 1.68%.

Now,

f(0.41217)=2.75(0.41217)3+18(0.41217)221(0.41217)12=0.09384

Thus, f(1)f(0.41217)<0. This implies that the root lies between 1 and 0.41217.

Calculate the fifth root would be:

x5=1(29.75)(1(0.41217))29.75(0.09384)=0.41402

The approximate error is computed as:

εa=(|0.41402(0.41217)0.41217|×100)%=0.45%

The approximate error is 0.45%.

As, εa is less than 1%, the process is stopped and root can be approximated as 0.41402.

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!
Students have asked these similar questions
6 108 polynomial is used to approximate v8, the answer is: dy 13. of the parametric equations x: 2-3t 3+2t and y =- is dx Use the following information for Questions 14 and 15: 1+t 1+t Using the Newton-Raphson method to determine the critical co-ordinate of the graph y=f(x)=(x)*an (*) (in words x to the power of tan (x)), you will be required to determine f'(x) 14. The expression for f'(x) is: The following tools were required in determining an expression for f'(x): Application of the natural logarithm 15. I. II. The product rule III. Implicit differentiation
x^2-5x^(1/3)+1=0 Has a root between 2 and 2.5 use bisection method to three iterations by hand.
Find the three unknown on this problems using Elimination Method and Cramer's Rule. Attach your solutions and indicate your final answer. Problem 1. 7z 5y 3z 16 %3D 3z 5y + 2z -8 %3D 5z + 3y 7z = 0 Problem 2. 4x-2y+3z 1 *+3y-4z -7 3x+ y+2z 5

Chapter 5 Solutions

EBK NUMERICAL METHODS FOR ENGINEERS

Additional Engineering Textbook Solutions

Find more solutions based on key concepts
Knowledge Booster
Background pattern image
Mechanical Engineering
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, mechanical-engineering and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press
Text book image
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON
Text book image
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education
Text book image
Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY
Text book image
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning
Text book image
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY
Power Series; Author: Professor Dave Explains;https://www.youtube.com/watch?v=OxVBT83x8oc;License: Standard YouTube License, CC-BY
Power Series & Intervals of Convergence; Author: Dr. Trefor Bazett;https://www.youtube.com/watch?v=XHoRBh4hQNU;License: Standard YouTube License, CC-BY