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
EBK NUMERICAL METHODS FOR ENGINEERS
- Define sinc(x) = sin(x)/x, except with the singularity removed. Differentiate sinc(x) once and twice.arrow_forward1.4. Run Program 1 to N = 216 instead of 212. What happens to the plot of error vs. N? Why? Use the MATLAB commands tic and toc to generate a plot of approximately how the computation time depends on N. Is the dependence linear, quadratic, or cubic?arrow_forwardShow that the function f(x) = sin(x)/x has a removable singularity. What are the left and right handed limits?arrow_forward
- 18.9. Let denote the boundary of the rectangle whose vertices are -2-2i, 2-21, 2+i and -2+i in the positive direction. Evaluate each of the following integrals: (a). 之一 dz, (b). dz, (b). COS 2 coz dz, dz (z+1) (d). z 2 +2 dz, (e). (c). (2z+1)zdz, z+ 1 (f). £, · [e² sin = + (2² + 3)²] dz. (2+3)2arrow_forward18.10. Let f be analytic inside and on the unit circle 7. Show that, for 0<|z|< 1, f(E) f(E) 2πif(z) = --- d.arrow_forward18.4. Let f be analytic within and on a positively oriented closed contoury, and the point zo is not on y. Show that L f(z) (-20)2 dz = '(2) dz. 2-20arrow_forward
- 18.9. Let denote the boundary of the rectangle whose vertices are -2-2i, 2-21,2+i and -2+i in the positive direction. Evaluate each of the following integrals: (a). rdz, (b). dz (b). COS 2 coz dz, (z+1) (d). 之一 z 2 +2 dz, (e). dz (c). (2z + 1)2dz, (2z+1) 1 (f). £, · [e² sin = + (2² + 3)²] dz. z (22+3)2arrow_forward18.8. (a). Let be the contour z = e-≤0≤ traversed in the า -dz = 2xi. positive direction. Show that, for any real constant a, Lex dzarrow_forwardf(z) 18.7. Let f(z) = (e² + e³)/2. Evaluate dz, where y is any simple closed curve enclosing 0.arrow_forward
- 18. If m n compute the gcd (a² + 1, a² + 1) in terms of a. [Hint: Let A„ = a² + 1 and show that A„|(Am - 2) if m > n.]arrow_forwardFor each real-valued nonprincipal character x mod k, let A(n) = x(d) and F(x) = Σ : dn * Prove that F(x) = L(1,x) log x + O(1). narrow_forwardBy considering appropriate series expansions, e². e²²/2. e²³/3. .... = = 1 + x + x² + · ... when |x| < 1. By expanding each individual exponential term on the left-hand side the coefficient of x- 19 has the form and multiplying out, 1/19!1/19+r/s, where 19 does not divide s. Deduce that 18! 1 (mod 19).arrow_forwardarrow_back_iosSEE MORE QUESTIONSarrow_forward_ios
- Algebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:Cengage