This transfer is possible in two ways: direct transfer and using the decimal system.
first, let\'s make a direct transfer.
Fill in the number with missing zeros on the left
let\'s do a direct translation from binary to hexadecimal like this:
00110100111110102 = 0011 0100 1111 1010 = 0011(=3) 0100(=4) 1111(=F) 1010(=A) = 34FA16
answer: 00110100111110102 = 34FA16
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
0∙215+0∙214+1∙213+1∙212+0∙211+1∙210+0∙29+0∙28+1∙27+1∙26+1∙25+1∙24+1∙23+0∙22+1∙21+0∙20 = 0∙32768+0∙16384+1∙8192+1∙4096+0∙2048+1∙1024+0∙512+0∙256+1∙128+1∙64+1∙32+1∙16+1∙8+0∙4+1∙2+0∙1 = 0+0+8192+4096+0+1024+0+0+128+64+32+16+8+0+2+0 = 1356210
got It: 00110100111110102 =1356210
Translate the number 1356210 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
13562 | 16 | | | |
-13552 | 847 | 16 | | |
A | -832 | 52 | 16 | |
| F | -48 | 3 | |
| | 4 | | |
|
the result of the conversion was:
1356210 = 34FA16
answer: 00110100111110102 = 34FA16