Determine the real roots of
(a) Graphically.
(b) Using the
(c) Using three iterations of the bisection method to determine the highest root. Employ initial guesses of
Compute the estimated error
(a)
The real roots of the equation
Answer to Problem 1P
Solution:
The real roots of the equation are
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 two zeros of the equation can be approximated as
(b)
To calculate: The real roots of the equation
Answer to Problem 1P
Solution:
The roots of the equation are
Explanation of Solution
Given Information:
The equation
Formula Used:
The roots of an equation
Calculation:
Consider the provided equation,
Now substitute
Thus, the roots of the equation are
(c)
To calculate: The highest root of the equation
Answer to Problem 1P
Solution:
The highest root of the equation can be approximated as 6.875. The true and approximate errors are as follows:
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 and b such that
2. Now, estimate the root by
3. If,
Calculation:
For the provided function:
Hence,
Now take the first root to be,
As, the true root computed from part (b) was 6.40512484. Now, the true relative percentage error would be:
The true error is 17.1%. There would be no approximate error for the first iteration.
Now,
Thus,
Now, the second root would be:
As, the true root computed from part (b) was 6.40512484. Now, the true relative percentage error would be:
The true error is 2.42%.
The approximate error can be computed as:
The approximate error is 2%.
Now,
Thus,
Now, the third root would be:
As, the true root computed from part (b) was 6.40512484. Now, the true relative percentage error would be:
The true error is 7.34%.
The approximate error can be computed as:
The approximate error is 9.09%.
Thus, the highest root can be approximated as 6.875.
Want to see more full solutions like this?
Chapter 5 Solutions
Numerical Methods for Engineers
- Find the unknown value. 27. y varies jointly with x and the cube root of 2. If when x=2 and z=27,y=12, find y if x=5 and z=8.arrow_forwardThe population P (in millions) of Texas from 2001 through 2014 can be approximated by the model P=20.913e0.0184t, where t represents the year, with t=1 corresponding to 2001. According to this model, when will the population reach 32 million?arrow_forward
- Algebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:Cengage