Computational Maths

121 Views Asked by At

enter image description here

I'm trying to revise for a test and these 2 questions I just don't really understand what I'm meant to do, any pointers would be good.

Any help I'd be very grateful for.

1

There are 1 best solutions below

4
On BEST ANSWER

On the first, you should start by carrying out the calculations with the indicated number of significant figures.

On the second, you have 8 bits minus 3 bits = 5 bits for the number, and without a hidden bit you have numbers of the form x.xxxx in binary. How many significant digits is this in decimal? Set this number to the largest possible, and set the exponent to the largest possible. What do you get? For the smallest positive number you want a small exponent and a small but nonzero number.

Once you know the largest number you can represent, finding how big to make it to get overflow should be easy.