52.5k views
2 votes
Convert 0110.0110 base 2 to decimal. Treat all numbers as unsigned

User Awbergs
by
8.4k points

1 Answer

1 vote
To convert the binary number 0110.0110 to decimal, we need to separate the whole number part from the fractional part and convert each part separately.

Whole number part:
0*2^3 + 1*2^2 + 1*2^1 + 0*2^0 = 0 + 4 + 2 + 0 = 6

Fractional part:
0*2^-1 + 1*2^-2 + 1*2^-3 + 0*2^-4 = 0 + 0.25 + 0.125 + 0 = 0.375

Combining the whole number and fractional parts, we get:
6 + 0.375 = 6.375

Therefore, the decimal representation of the binary number 0110.0110 is 6.375.
User Taquanna
by
8.2k points

Related questions