Wednesday 27 February 2013

Binary to Decimal (i) 1001(2) (ii) 1100.01(2)


i) 1001 =  9
            Conversion from Binary to Decimal:
            1 x 23+0 x 22+0 x 21+1 x 20
            1 x 2 x 2 x 2+0 x 2 x 2 + 0 x 2 + 1x 1
            8+0+0+1=9               
           
ii) 1100.01 = 12.25
Conversion from Binary to Decimal of 1100
            1 x 23+1 x 22 + 0 x 21 + 0 x 20
            1 x 2 x 2 x 2+ 1 x 2 x 2 + 0 x 2 + 0 x 1
            8+4+0=12
Conversion from Binary to Decimal of .01
            0 x 2-1 + 1 x 2-2         
            0 x 0 + 1 x 0.25
            0 + 0.25=0.25           

0 comments:

Post a Comment