I am trying to complete the following, so far this is what I have
I am trying to complete the following, so far this is what I have.
Can someone verify that I am doing it correctly and also help me with the last problem converting the binary number to a floating-point number. Please show work so that I can understand how to do it.
Convert a decimal number into a binary number with three places to the right of the binary point.
-Check amount: $165
165/2=82.5 r 1
82.5/2=41.25 r 0
41.25/2=20.625 r 1
20.625/2=10.3125 r 0
10.3125/2=5.1562 r 0
5.1562/2=2.5781 r 1
2.5781/2=1.2890 r 0
1.2890/2=0.6445 r 1
(165)_10 = (10100101)_2
-Convert into hexadecimal
1010 0101
1*8+0*4+1*2+0*1=10 = A
0*8+1*4+0*2+1*1=5
= (A5)_16
Convert to a floating-point number using the IEE-754 Floating Point Standard.
This is what I have so far:
10100101 –> 10100101 –> 1.0100101*2