Question: 4. (a) Express x = 1/3 in binary form. (6 marks) (b) Find the two closest bounding machine numbers (x and X+) to x =

4. (a) Express x = 1/3 in binary form. (6 marks) (b) Find the two closest bounding machine numbers (x and X+) to x = 1/3 on a 32-bit computer. (4 marks) (e) Hence, find the floating point representation, fl(x), of x = 1/3. (6 marks) (d) Give the absolute and relative errors of replacing x by f(x). Give the exact expressions and the approximate numeric value in the decimal number system. (4 marks) Total: 20 Marks 4. (a) Express x = 1/3 in binary form. (6 marks) (b) Find the two closest bounding machine numbers (x and X+) to x = 1/3 on a 32-bit computer. (4 marks) (e) Hence, find the floating point representation, fl(x), of x = 1/3. (6 marks) (d) Give the absolute and relative errors of replacing x by f(x). Give the exact expressions and the approximate numeric value in the decimal number system. (4 marks) Total: 20 Marks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
