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
Book Icon
Chapter 3, Problem 11P

Use 5-digit arithmetic with chopping to determine the roots of the following equation with Eqs. (3.12) and (3.13)

x 2 5000.002 x + 10

Compute percent relative errors for your results.

Expert Solution & Answer
Check Mark
To determine

To calculate: The roots of the equation x25000.002x+10 with 5-digit arithmeticchopping by the use of the formula x=b±b24ac2a and x=2cb±b24ac. Also, find the percent relative error.

Answer to Problem 11P

Solution:

The roots of the equation x25000.002x+10 by the use of the formula x=b±b24ac2a are 4999.9 with relative percent error of 0.002% and 0.05 with relative percent error of 2400%.

And, the roots of the equation x25000.002x+10 by the use of the formula x=2cb±b24ac are 200 with relative percent error of 96% and 0.002 with relative percent error of approximately 0%.

Explanation of Solution

Given:

The equation, x25000.002x+10.

Formula used:

The quadratic formula for the equation ax2+bx+c=0 is,

x=b±b24ac2a

Alternative formula for roots when b2>>4ac,

x=2cb±b24ac

Relative error formula:

Relative error = | true valueapproximate valuetrue value |

Calculation:

Consider the following equation,

x25000.002x+10=0

Here, a=1,b=5000.002 and c=10.

Therefore, the roots of the equation from the quadratic formula is,

x=5000.002±(5000.002)24×102=5000.002±(5000.002)24×102=5000.002±4999.9982

Thus,

x1=5000.002+4999.9982=100002=5000

And,

x2=5000.0024999.9982=0.0042=0.002

Now, chop to 5 digits and find the root as below,

x=5000.0±(5000.0)24×102=5000.0±250000004×102=5000.0±249999602=5000.0±4999.92

Solve for two different roots:

x1=5000.0+4999.92=9999.92=4999.9

And,

x2=5000.04999.92=0.12=0.05

Hence, the relative percent error of the first root 4999.9 is,

Error=|50004999.95000|×100%=|0.15000|×100%=0.002%

And, the relative percent error of the second root 0.05 is,

Error=|0.0020.050.002|×100%=|0.0480.002|×100%=2400%

Hence, the roots of the equations are 4999.9 with relative percent error of 0.002% and 0.05 with relative percent error of 2400%.

Now, for the provided equation b2>>4ac, Therefore, use alternative formula to find the roots by chopping to 5-digit,

2cb±b24ac=2(10)5000.0±(5000.0)24×10=2(10)5000.0±250000004×10=205000.0±24999960=205000.0±4999.9

Solve for two different roots,

x1=205000.+4999.9=200.1=200

And,

x1=205000.04999.9=209999.9=0.002

Therefore, the relative percent error of the first root 200 is,

 Error=|50002005000|×100%=|48005000|×100%=96%

And, the relative percent error of the second root 0.00200002 is,

Error=|0.0020.0020.002|×100%=|00.002|×100%=0%

Hence, the roots of the equations are 200 with relative percent error of 96% and 0.002 with relative percent error of 0%.

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
Module Code: MATH380202 3. (a) Let {} be a white noise process with variance σ2. Define an ARMA(p,q) process {X} in terms of {+} and state (without proof) conditions for {X} to be (i) weakly stationary and (ii) invertible. Define what is meant by an ARIMA (p, d, q) process. Let {Y} be such an ARIMA(p, d, q) process and show how it can also be represented as an ARMA process, giving the AR and MA orders of this representation. (b) The following tables show the first nine sample autocorrelations and partial auto- correlations of X and Y₁ = VX+ for a series of n = 1095 observations. (Notice that the notation in this part has no relationship with the notation in part (a) of this question.) Identify a model for this time series and obtain preliminary estimates for the pa- rameters of your model. X₁ = 15.51, s² = 317.43. k 1 2 3 4 5 6 7 Pk 0.981 0.974 0.968 akk 0.981 0.327 8 9 0.927 0.963 0.957 0.951 0.943 0.935 0.121 0.104 0.000 0.014 -0.067 -0.068 -0.012 Y₁ = VX : y = 0.03, s² = 11.48. k 1…
Let G be a graph with n ≥ 2 vertices x1, x2, . . . , xn, and let A be the adjacency matrixof G. Prove that if G is connected, then every entry in the matrix A^n−1 + A^nis positive.
Module Code: MATH380202 1. (a) Define the terms "strongly stationary" and "weakly stationary". Let {X} be a stochastic process defined for all t € Z. Assuming that {X+} is weakly stationary, define the autocorrelation function (acf) Pk, for lag k. What conditions must a process {X+) satisfy for it to be white noise? (b) Let N(0, 1) for t€ Z, with the {+} being mutually independent. Which of the following processes {X+} are weakly stationary for t> 0? Briefly justify your answers. i. Xt for all > 0. ii. Xo~N(0,) and X₁ = 2X+-1+ &t for t > 0. (c) Provide an expression for estimating the autocovariance function for a sample X1,..., X believed to be from a weakly stationary process. How is the autocor- relation function Pk then estimated, and a correlogram (or acf plot) constructed? (d) Consider the weakly stationary stochastic process ✗+ = + + +-1+ +-2 where {E} is a white noise process with variance 1. Compute the population autocorre- lation function Pk for all k = 0, 1, ....
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.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
College Algebra
Algebra
ISBN:9781938168383
Author:Jay Abramson
Publisher:OpenStax
Text book image
College Algebra (MindTap Course List)
Algebra
ISBN:9781305652231
Author:R. David Gustafson, Jeff Hughes
Publisher:Cengage Learning
Text book image
Algebra: Structure And Method, Book 1
Algebra
ISBN:9780395977224
Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:McDougal Littell
Text book image
Glencoe Algebra 1, Student Edition, 9780079039897...
Algebra
ISBN:9780079039897
Author:Carter
Publisher:McGraw Hill
Text book image
College Algebra
Algebra
ISBN:9781337282291
Author:Ron Larson
Publisher:Cengage Learning
Text book image
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
What is a Linear Equation in One Variable?; Author: Don't Memorise;https://www.youtube.com/watch?v=lDOYdBgtnjY;License: Standard YouTube License, CC-BY
Linear Equation | Solving Linear Equations | What is Linear Equation in one variable ?; Author: Najam Academy;https://www.youtube.com/watch?v=tHm3X_Ta_iE;License: Standard YouTube License, CC-BY