How to Convert Binary Fraction (11010.110101) to Decimal, Octal, and Hexadecimal
Convert to decimal:
Integer part
11010 = 1 * 24 + 1 * 23 + 0 * 22 + 1 * 21+0 * 20 = 16+8+0+2+0=26
Fractional part
0.110101 =1×2 −1 +1×2 −2 +0×2 −3 +1×2 −4 +0×2 −5 +1×2 −6=0.5+0.25+0+0.0625+0+0.015625=0.828125
(11010.110101)2 = (26.828125)10
Convert to octal:
Integer part:
011 = 3, 010 = 2
11010 = 32
Fractional part
110 =6 , 101 = 5
.110101 = .65
(11010.110101)2 = (32.65)8
Convert to hexadecimal:
Integer part:
0001 = 1, 1010 =A
11010 = 1A
Fractional part:
1101 = D, 0100 = 4
.110101 = .D4
(11010.110101)2 = (1A.D4)16
No comments