Question: Write an algorithm that accurately computes the roots of a quadratic equation even in situations when subtractive cancellation may severely corrupt the results, i.e.
Write an algorithm that accurately computes the roots of a quadratic equation even in situations when subtractive cancellation may severely corrupt the results, i.e. |b| = Vb2 4ac. Convert the algorithm into a MATLAB program and solve the quadratic equations given in Problem 1.7. ebra (1) x2 75.01x +1 = 0, x + 100.01 +0.1 = 0. (2)
Step by Step Solution
3.54 Rating (158 Votes )
There are 3 Steps involved in it
To accurately compute the roots of a quadratic equation espec... View full answer
Get step-by-step solutions from verified subject matter experts
