December 2017
Intermediate to advanced
858 pages
21h 17m
English
Exercise 5.8.10. On a computer using a decimal floating-point system with ϵmach = 10−8 and an exponent range of [−16, 15], what is the result of the following computations?
1. 104 + 10−5
2. 1 − 10−4
3. 1010/109
4. 10−10/109
5. 1015 × 10−16
6. 1015 × 1016
Exercise 5.8.11. Which of the following two formulas to compute the midpoint of an interval [a, b] is preferable in floating-point arithmetic?
Is it possible to compute m that lies outside the interval with either one of these formulas?
Exercise 5.8.12. The standard deviation of a set of real numbers can be computed in two mathematically equivalent ways
where is the mean. Which one ...
Read now
Unlock full access