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

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

X = -b b - 4ac 2a

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

X = -b b - 4ac 2a

Step by Step Solution

3.40 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

We are given the quadratic equation x 2 5000002x 10 0 We can find the roots of this equation using t... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Applied Numerical Methods Questions!