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)

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!