This transfer is possible in two ways: direct transfer and using the decimal system.
first, let\'s make a direct transfer.
let\'s do a direct translation from binary to hexadecimal like this:
00101010110100112 = 0010 1010 1101 0011 = 0010(=2) 1010(=A) 1101(=D) 0011(=3) = 2AD316
answer: 00101010110100112 = 2AD316
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
0∙215+0∙214+1∙213+0∙212+1∙211+0∙210+1∙29+0∙28+1∙27+1∙26+0∙25+1∙24+0∙23+0∙22+1∙21+1∙20 = 0∙32768+0∙16384+1∙8192+0∙4096+1∙2048+0∙1024+1∙512+0∙256+1∙128+1∙64+0∙32+1∙16+0∙8+0∙4+1∙2+1∙1 = 0+0+8192+0+2048+0+512+0+128+64+0+16+0+0+2+1 = 1096310
got It: 00101010110100112 =1096310
Translate the number 1096310 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
10963 | 16 | | | |
-10960 | 685 | 16 | | |
3 | -672 | 42 | 16 | |
| D | -32 | 2 | |
| | A | | |
|
the result of the conversion was:
1096310 = 2AD316
answer: 00101010110100112 = 2AD316