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:
00010101101101112 = 0001 0101 1011 0111 = 0001(=1) 0101(=5) 1011(=B) 0111(=7) = 15B716
answer: 00010101101101112 = 15B716
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
0∙215+0∙214+0∙213+1∙212+0∙211+1∙210+0∙29+1∙28+1∙27+0∙26+1∙25+1∙24+0∙23+1∙22+1∙21+1∙20 = 0∙32768+0∙16384+0∙8192+1∙4096+0∙2048+1∙1024+0∙512+1∙256+1∙128+0∙64+1∙32+1∙16+0∙8+1∙4+1∙2+1∙1 = 0+0+0+4096+0+1024+0+256+128+0+32+16+0+4+2+1 = 555910
got It: 00010101101101112 =555910
Translate the number 555910 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
5559 | 16 | | | |
-5552 | 347 | 16 | | |
7 | -336 | 21 | 16 | |
| B | -16 | 1 | |
| | 5 | | |
|
the result of the conversion was:
555910 = 15B716
answer: 00010101101101112 = 15B716