One common instance where subtractive cancellation occurs involves finding the roots of a parabola, ax 2 +

Question:

One common instance where subtractive cancellation occurs involves finding the roots of a parabola, ax+ bx + c, with the quadratic formula:

For cases where b>> 4ac, the difference in the numerator can be very small and roundoff errors can occur. In such cases, an alternative formulation can be used to minimize subtractive cancellation:

Use 5-digit arithmetic with chopping to determine the roots of the following equation with both versions of the quadratic formula.

x2 − 5000.002x + 10

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: