Solutions Manual for Friendly Introduction To Numerical Analysis 1st Edition by Bradie Full Download: https://downloadlink.org/p/solutions-manual-for-friendly-introduction-to-numerical-analysis-1st-edition-by-bradie/
Floating Point Number Systems
1.3
1
Floating Point Number Systems
1. Provide the floating point equivalent for each of the following numbers from the floating point number system F(10, 4, 0, 4). Consider both chopping and rounding. Compute the absolute and relative error in each floating point equivalent. (a) √ π (b) e (d) 1/7 (c) 2 (e) cos 22◦ (f ) ln 10 √ (g) 3 9 In the following table, δ denotes the absolute error and ǫ the relative error.
e √ 2 1/7 cos 22◦ ln 10 √ 3
Chopping error δ = 5.927 × 10−4 ǫ = 1.886 × 10−4 2.718 δ = 2.818 × 10−4 ǫ = 1.037 × 10−4 1.414 δ = 2.136 × 10−4 ǫ = 1.510 × 10−4 0.1428 δ = 5.714 × 10−4 ǫ = 4.000 × 10−4 0.9271 δ = 8.385 × 10−5 ǫ = 9.044 × 10−5 2.302 δ = 5.851 × 10−4 ǫ = 2.541 × 10−4 2.080 δ = 8.382 × 10−5 ǫ = 4.030 × 10−5 f l(y) 3.141
y π
9
f l(y) 3.142 2.718 1.414 0.1429 0.9272 2.303 2.080
Rounding error δ = 4.073 × 10−4 ǫ = 1.297 × 10−4 δ = 2.818 × 10−4 ǫ = 1.037 × 10−4 δ = 2.136 × 10−4 ǫ = 1.510 × 10−4 δ = 4.286 × 10−4 ǫ = 3.000 × 10−4 δ = 1.615 × 10−5 ǫ = 1.741 × 10−5 δ = 4.149 × 10−4 ǫ = 1.802 × 10−4 δ = 8.382 × 10−5 ǫ = 4.030 × 10−5
2. Prove the bounds on the absolute and relative roundoff error associated with rounding: |f lround (y) − y| ≤
1 e−k β 2
and
|f lround (y) − y| 1 ≤ β 1−k . |y| 2
Consider the floating point system F(β, k, m, M ) with rounding. Let y be a real number whose expansion is given by y = ±(0.d1 d2 d3 · · · dk dk+1 · · ·)β × β e
Full download all chapters instantly please go to Solutions Manual, Test Bank site: TestBankLive.com