convert hexadecimal to octal E3D
Answers
Answered by
4
Hexadecimal to Octal
for this First we have to convert hexadecimal into binary than binary to octal
Hexadecimal to binary
- A = 10
- B = 11
- C = 12
- D = 13
- E = 14
- F =15
Aftet expending E3D ... 14 3 13
14 , 3 , 13
2 |14| 0
2 | 7 | 1
2 | 3 | 1
2 | 1 | 1
2 | 0 |
- binary of 14 is 1110
2 | 3 | 1
2 | 1 | 1
2 | 0 |
- binary of 3 is 11 but it is not of four bit. To make it of four bit 0011
2 |13| 1
2 | 6 | 0
2 | 3 | 1
2 | 1 | 1
2 | 0 |
- binary of 13 is 1101
◆ Binary of E3D is 1110 0011 1101
Binary to octal
111000111101 to octal
we will convert it by dividing it into 3 bit
111 . 000 . 111 . 101
▪ 111
1×2^2 + 1×2^1 + 1×2^0
= 4 + 2 + 1
=7
▪ 000
0×2^2 + 0×2^1 + 0×2^0
=0
▪ 111
1×2^2 + 1×2^1 + 1×2^0
= 4 + 2 + 1
=7
▪ 101
1×2^2 + 0 ×2^1 + 1×2^0
= 4 + 0 + 1
=5
◆ binary to octal of 111000111101 is 7075
hexadecimal to octal of E3D is 7075
Similar questions