Question: 4. (a) Express x = 1/3 in binary form. (6 marks) (b) Find the two closest bounding machine numbers (E_ and r+) to r=1/3 on
4. (a) Express x = 1/3 in binary form. (6 marks) (b) Find the two closest bounding machine numbers (E_ and r+) to r=1/3 on a 32-bit computer. (4 marks) (c) Hence, find the floating point representation, f(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 END OF ASSESSMENT Page 404 This sumeris su aguon for Candidat MacBook Air 4. (a) Express x = 1/3 in binary form. (6 marks) (b) Find the two closest bounding machine numbers (E_ and r+) to r=1/3 on a 32-bit computer. (4 marks) (c) Hence, find the floating point representation, f(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 END OF ASSESSMENT Page 404 This sumeris su aguon for Candidat MacBook Air
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
