Search code examples
binary

Translation from Binary to Decimal


How does one translate the following binary to Decimal. And yes the decimal points are with the whole binary value

1) 101.011
b) .111

Solution

  • 1) 101.011

    = 2*2^-3 + 1*2^-2 + 0*2^-1 + 1*2^0 + 0*2^1 + 1*2^2

    = (1/8) + (1/4) + 0 + 1 + 0 + 4

    = 5.375

    2) .111

    = 1*2^-3 + 1*2^-2 + 1*2^-1

    = (1/8) + (1/4) + (1/2)

    = .875