
Study Guide for Unavoidable Errors in Computing 1
Bare Essentials
At the end of this chapter you should be able to
1. List the digits used in base two arithmetic.
2. Give a simple explanation of the term “floating point number”.
3. Give two examples of numbers that would need to be stored in floating
point format in a computer. What other format is used for numerical
data? Give two examples of this other format.
4. Give a definition of “roundoff error”.
5. Explain the expression, “There are holes in the floating point number
line”.
6. Explain why integer arithmetic is “exact”?
7. Describe why floating point arithmetic is not “exact”.
8. Give a simple explanation of overflow.
9. Give a simple expression that defines machine precision, εm.
10. Give the value of εmfor exact arithmetic.
11. Write the formulas for computing the relative and absolute errors if αis
an exact (scalar) value, and ˆαis its floating point approximation.
12. Identify the truncation error of a Taylor series expansion.
A minimal working knowledge of Matlab requires that you can
13. Name the built in variable that holds the value εm.
14. Given the value of εmfor computations in Matlab.
15. Write a simple, but carefully coded if statement that determines whether
two scalar values are close enough to be considered equal.
An Expanded Core of Knowledge
After mastering the bare essentials you should move on to a deeper understand-
ing of the fundamentals. Doing so involves being able to
1. Give a definition and one example of catastrophic cancellation error.
2. Identify (at least) two important differences between symbolic and numeric
computations.
This document was created by Gerald Recktenwald. It is in the public domain.