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:
10100100111100102 = 1010 0100 1111 0010 = 1010(=A) 0100(=4) 1111(=F) 0010(=2) = A4F216
answer: 10100100111100102 = A4F216
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
1∙215+0∙214+1∙213+0∙212+0∙211+1∙210+0∙29+0∙28+1∙27+1∙26+1∙25+1∙24+0∙23+0∙22+1∙21+0∙20 = 1∙32768+0∙16384+1∙8192+0∙4096+0∙2048+1∙1024+0∙512+0∙256+1∙128+1∙64+1∙32+1∙16+0∙8+0∙4+1∙2+0∙1 = 32768+0+8192+0+0+1024+0+0+128+64+32+16+0+0+2+0 = 4222610
got It: 10100100111100102 =4222610
Translate the number 4222610 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
42226 | 16 | | | |
-42224 | 2639 | 16 | | |
2 | -2624 | 164 | 16 | |
| F | -160 | A | |
| | 4 | | |
|
the result of the conversion was:
4222610 = A4F216
answer: 10100100111100102 = A4F216