next up previous
Next: About this document ... Up: Assignment 1: Stability and Previous: Do some arithmetic

Check the answers and explain

Solving this system using lots of digits, I got the following answers:

     a) x = 2.445, y = -1.636
     b) x = 497.4, y = 80.29

1.
Calculate the absolute and relative errors for your answers relative to the correct answers.

2.
If you were asked to report the accuracy of the solutions, which type of error would you report?

3.
Write a short explanation of the difference in accuracy in the two cases. Hint: look at the subtractions.

4.
The first problem is clearly well-conditioned, since we get an accurate answer. With the second problem, though, we don't get an accurate answer. Is that because the problem is ill-conditioned or because the algorithm we are using is only conditionally stable?



Allen B. Downey
1998-09-10