Question
Given the equation ax2 + bx + c = 0. If b^2 4ac > 0, then its roots can be calculated with the use
Given the equation ax2 + bx + c = 0. If b^2 − 4ac > 0, then its roots can be calculated with the use of the following two different types :
(I) ξ± = (−b ±√(b^2 − 4ac))/2a
(II) ξ+ =−2c / (b + √(b^2 − 4ac)), ξ− = c / aξ+
Application: Given a = 1.000, b = 76.30, c = −1.710.
( Exact values (to 10 significant digits) : ξ+ = 0.02240495436, ξ− = −76.32240495).
Calculate using floating point arithmetic with 4 significant figures and rounding the roots of the equation applying formulas (I) and (II). For each type to estimate, vs approach .
a. The absolute error of the calculated values ξ+ and ξ− of the roots.
b.The absolute relative error of the calculated values ξ+ and ξ− of the roots.
c. What conclusions do you draw about the accuracy of the results in a) and b); Compare as to the accuracy of the two types. Comment on your conclusions.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
To solve this problem we will first need to calculate the roots of the equation using the two different formulas Using formula I we get b b2 4ac2a 7630 76302 4 1000 17102 1000 002240495436 b b2 4ac2a ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started