Round-off error-quadratic equations


Assignment:

If b^2-4ac>0, the quadratic equation ax^2 + bx +c = zero has two real solutions x1, x2 given by the typical:
(1) X1 = (-b + sqrt(b^2 - 4ac))/2a and
(2) X2= (-b - sqrt(b^2 - 4ac))/2a
By rationalizing the numerator it is also given that:
(1A) X1 = -2c / (b + sqrt(b^2 - 4ac))
(2A) X2 = -2c / (b - sqrt(b^2 - 4ac))

Q1. Choose two best solutions from above[(1), (2), (1A) or (2A)] for X1 and X2. Use 4 digit rounding arithmetic to find the approximate solutions X1 and X2 to

1.002x^2 - 11.01x + 0.01265 = 0.

Q2. Once the best approximations are found in step 1. If true solutions are X1 = 10.98687488 and X2 = .0011490757 what are the absolute and relative errors?

Provide complete and step by step solution for the question and show calculations and use formulas.

Solution Preview :

Prepared by a verified Expert
Algebra: Round-off error-quadratic equations
Reference No:- TGS01931781

Now Priced at $20 (50% Discount)

Recommended (99%)

Rated (4.3/5)