Binary Converted Into Decimal
Binary Converted Into Decimal
Decimal
1) Convert the binary number (1101)2 into a decimal number.
Solution:
Now, multiplying each digit from MSB to LSB with reducing the power of the base
number 2.
1 × 2 3 + 1 × 22 + 0 × 21 + 1 × 20
=8+4+0+1
= 13
Thus, the equivalent decimal number for the given binary number (1101)2 is (13)10
=8+0+0+1
= (9)₁₀
= 64 + 32 + 0 + 8 + 0 + 0 + 1
= (105)₁₀
4) Convert (11110111)2 into base-10 number system.
= 128 + 64 + 32 + 16 + 0 + 4 + 2 + 1
= (247)₁₀
Solution: 11010111 = (1 × 2 7 ) + (1 × 2 6 ) + (0 × 2 5 ) + (1 × 2 4 ) + (0 × 2 3 ) + (1 ×
2 2 ) + (1 × 2 1 ) + (1 × 2 0 )
= 128 + 64 + 0 + 16 + 0 + 4 + 2 + 1
= 215
97 / 2 = 48 with remainder 1
48 / 2 = 24 with remainder 0
24 / 2 = 12 with remainder 0
12 / 2 = 6 with remainder 0
6 / 2 = 3 with remainder 0
3 / 2 = 1 with remainder 1
1 / 2 = 0 with remainder 1