Concept explainers
Determine the real root of
(a) Graphically.
(b) Using bisection to determine the root to
(c) Perform the same computation as in (b) but use the false-position method and
(a)
The real roots of the equation
Answer to Problem 3P
Solution:
The approximate real root of the equation is 0.6.
Explanation of Solution
Given Information:
The equation
Calculation:
The graph of the function can be plotted using MATLAB.
Code:
Output:
This gives the following plot:
The roots of an equation can be represented graphically by the x-coordinate of the point where the graph cuts the x-axis. From the plot, the only zeros of the equation can be approximated as 0.6.
(b)
To calculate: The root of the equation
Solution:
The root of the equation can be approximated as 0.59375.
Given Information:
The equation
Formula Used:
A root of an equation can be obtained using the bisection method as follows:
1. Choose 2 values x, say a andb such that
2. Now, estimate the root by
3. If,
Calculation:
For the provided function:
Hence,
Now take the first root to be,
Now,
Thus,
Now, the second root would be:
The approximate error can be computed as:
The approximate relative percentage error is 200%.
Now,
Thus,
Now, the third root would be:
The approximate error can be computed as:
The approximate error is 11.1%.
Now,
Thus,
Now, the fourth root would be:
The approximate error can be computed as:
The approximate error is 5.26%.
As
(c)
To calculate: The root of the equation
Solution:
The root of the equation can be approximated as 0.57956.
Given Information:
The equation
Formula Used:
A root of an equation can be obtained using the false-position method as follows:
1. Choose 2 values x, say a andb such that
2. Now, estimate the root by
3. If,
Calculation:
For the provided function:
Hence,
Now take the first root to be,
Now,
Thus,
Now, the second root would be:
The approximate error can be computed as:
The approximate relative percentage error is 200%.
Now,
Thus,
Now, the third root would be:
The approximate error can be computed as:
The approximate error is 1.29%.
Now,
Thus,
Now, the fourth root would be:
The approximate error can be computed as:
The approximate error is 0.17%.
As
(b)
To calculate: The root of the equation
Answer to Problem 3P
Solution:
The root of the equation can be approximated as 0.59375.
Explanation of Solution
Given Information:
The equation
Formula Used:
A root of an equation can be obtained using the bisection method as follows:
1. Choose 2 values x, say a andb such that
2. Now, estimate the root by
3. If,
Calculation:
For the provided function:
Hence,
Now take the first root to be,
Now,
Thus,
Now, the second root would be:
The approximate error can be computed as:
The approximate relative percentage error is 200%.
Now,
Thus,
Now, the third root would be:
The approximate error can be computed as:
The approximate error is 11.1%.
Now,
Thus,
Now, the fourth root would be:
The approximate error can be computed as:
The approximate error is 5.26%.
As
(c)
To calculate: The root of the equation
Solution:
The root of the equation can be approximated as 0.57956.
Given Information:
The equation
Formula Used:
A root of an equation can be obtained using the false-position method as follows:
1. Choose 2 values x, say a andb such that
2. Now, estimate the root by
3. If,
Calculation:
For the provided function:
Hence,
Now take the first root to be,
Now,
Thus,
Now, the second root would be:
The approximate error can be computed as:
The approximate relative percentage error is 200%.
Now,
Thus,
Now, the third root would be:
The approximate error can be computed as:
The approximate error is 1.29%.
Now,
Thus,
Now, the fourth root would be:
The approximate error can be computed as:
The approximate error is 0.17%.
As
(c)
To calculate: The root of the equation
Answer to Problem 3P
Solution:
The root of the equation can be approximated as 0.57956.
Explanation of Solution
Given Information:
The equation
Formula Used:
A root of an equation can be obtained using the false-position method as follows:
1. Choose 2 values x, say a andb such that
2. Now, estimate the root by
3. If,
Calculation:
For the provided function:
Hence,
Now take the first root to be,
Now,
Thus,
Now, the second root would be:
The approximate error can be computed as:
The approximate relative percentage error is 200%.
Now,
Thus,
Now, the third root would be:
The approximate error can be computed as:
The approximate error is 1.29%.
Now,
Thus,
Now, the fourth root would be:
The approximate error can be computed as:
The approximate error is 0.17%.
As
Want to see more full solutions like this?
Chapter 5 Solutions
EBK NUMERICAL METHODS FOR ENGINEERS
Additional Engineering Textbook Solutions
Advanced Engineering Mathematics
Basic Technical Mathematics
Fundamentals of Differential Equations (9th Edition)
Calculus for Business, Economics, Life Sciences, and Social Sciences (13th Edition)
Pre-Algebra Student Edition
- A root of the function f(x) = x3 – 10x² +5 lies close to x = 0.7. Doing three iterations, compute this root using the Newton- Raphson method with an initial guess of x=1). Newton-Raphson iterative equation is given as: f(x;) Xi+1 = Xị - f'(xi)arrow_forward8. Use the Lagrange multiplier method to find the point on the line 3x + 8y = 146 that is closest to the origin.arrow_forwardGiven the data below: Xo = 1 X1= 2 x2 = 4 Axo) = 2 Ax1) = 3 Ax2 : = 8 (i) Calculate the second-order interpolating polynomial using the method of the Newton's interpolating polynomial. (ii) Use the interpolating polynomial in (i) to calculate the approximated/interpolated functional value at x = 3, i.e., (3). (iii)Calculate the percentage relative error if the true value of f(3) is 4.8.arrow_forward
- Solve the Following Linear Equation Using Gauss Method: 3X₁ + 2X₂+ 100X; = 105 -X₁+3X₂ + 100X3 = 102 X₁ + 2X₂ X3 = 2 a) (0,0,0) b) (1,1,1) d) (5,5,5) c) (10.10.10)arrow_forwardDetermine if the system is consistent or inconsistent. Justify your answer and find all solutions to the system of linear equations. Justification should be written on your solution paper. Transform the matrix into ROW ECHELON FORM (REF) using row operations. 2x +8y+ 6z = 20 4x+2y-2z =-2 3x-y+z = 11 Enter final answer: (x, y, z) =(arrow_forwardThe natural exponential function can be expressed by . Determine e2by calculating the sum of the series for:(a) n = 5, (b) n = 15, (c) n = 25For each part create a vector n in which the first element is 0, the incrementis 1, and the last term is 5, 15, or 25. Then use element-by-element calculations to create a vector in which the elements are . Finally, use the MATLAB built-in function sum to add the terms of the series. Compare thevalues obtained in parts (a), (b), and (c) with the value of e2calculated byMATLAB.arrow_forward
- 3. Using the trial function uh(x) = a sin(x) and weighting function wh(x) = b sin(x) find an approximate solution to the following boundary value problems by determining the value of coefficient a. For each one, also find the exact solution using Matlab and plot the exact and approximate solutions. (One point each for: (i) finding a, (ii) finding the exact solution, and (iii) plotting the solution) a. (U₁xx - 2 = 0 u(0) = 0 u(1) = 0 b. Modify the trial function and find an approximation for the following boundary value problem. (Hint: you will need to add an extra term to the function to make it satisfy the boundary conditions.) (U₁xx - 2 = 0 u(0) = 1 u(1) = 0arrow_forwardProblem1: Solve the system of linear equations by each of the methods listed below. (a) Gaussian elimination with back-substitution (b) Gauss-Jordan elimination (c) Cramer's Rule 3x, + 3x, + 5x, = 1 3x, + 5x, + 9x3 = 2 5x, + 9x, + 17x, = 4arrow_forward3. Using the trial function u¹(x) = a sin(x) and weighting function w¹(x) = b sin(x) find an approximate solution to the following boundary value problems by determining the value of coefficient a. For each one, also find the exact solution using Matlab and plot the exact and approximate solutions. (One point each for: (i) finding a, (ii) finding the exact solution, and (iii) plotting the solution) a. (U₁xx -2 = 0 u(0) = 0 u(1) = 0 b. Modify the trial function and find an approximation for the following boundary value problem. (Hint: you will need to add an extra term to the function to make it satisfy the boundary conditions.) (U₁xx-2 = 0 u(0) = 1 u(1) = 0arrow_forward
- Use a step size of 0.1 and round your answers to five decimal places if needed. Use Euler's method to approximate the solution x10 for the IVP y' 8y, y(0) 1. The Euler approximation for x10 isarrow_forwardQ3) Find the optimal solution by using graphical method:. Max Z = x1 + 2x2 Subject to : 2x1 + x2 < 100 X1 +x2 < 80 X1 < 40 X1, X2 2 0arrow_forwardQ-Find the solution by using the simplex method? 1- Max Z=3X1+2X2 S. T: X1+X2 ≤ 4 X1-X2 ≤2 X1, X2 ≥0 2- MAX Z= 2X1+3X2+X3 S. T: 3X1+6X2+X3 ≤ 6 4X1+2X2+X3 ≤ 4 X1-X2+X3 ≤ 3 X1, X2,X3 20arrow_forward
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY