Numerical methods Use five-digit arithmetic to find the roots of the equation x² - 5000.002x + 10 = 0 by considering Equations 3.12 and 3.13 in the following image:

Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter2: Equations And Inequalities
Section2.3: Quadratic Equations
Problem 81E
icon
Related questions
Question
100%
Numerical methods
Use five-digit arithmetic to find the roots of the equation x² - 5000.002x + 10 = 0 by
considering Equations 3.12 and 3.13 in the following image:
Subtractive Cancellation. This term refers to the round-off induced when subtracting
two nearly equal floating-point numbers.
One common instance where this can occur involves finding the roots of a quadratic
equation or parabola with the quadratic formula,
-b± √b²-4ac
XI
x2
=
(3.12)
2a
For cases where b² > 4ac, the difference in the numerator can be very small. In such
cases, double precision can mitigate the problem. In addition, an alternative formulation
can be used to minimize subtractive cancellation,
X1
-2c
=
x₂ b ± √b² - 4ac
(3.13)
Transcribed Image Text:Numerical methods Use five-digit arithmetic to find the roots of the equation x² - 5000.002x + 10 = 0 by considering Equations 3.12 and 3.13 in the following image: Subtractive Cancellation. This term refers to the round-off induced when subtracting two nearly equal floating-point numbers. One common instance where this can occur involves finding the roots of a quadratic equation or parabola with the quadratic formula, -b± √b²-4ac XI x2 = (3.12) 2a For cases where b² > 4ac, the difference in the numerator can be very small. In such cases, double precision can mitigate the problem. In addition, an alternative formulation can be used to minimize subtractive cancellation, X1 -2c = x₂ b ± √b² - 4ac (3.13)
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
College Algebra (MindTap Course List)
College Algebra (MindTap Course List)
Algebra
ISBN:
9781305652231
Author:
R. David Gustafson, Jeff Hughes
Publisher:
Cengage Learning
Algebra: Structure And Method, Book 1
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