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:
10100111110001012 = 1010 0111 1100 0101 = 1010(=A) 0111(=7) 1100(=C) 0101(=5) = A7C516
answer: 10100111110001012 = A7C516
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+1∙29+1∙28+1∙27+1∙26+0∙25+0∙24+0∙23+1∙22+0∙21+1∙20 = 1∙32768+0∙16384+1∙8192+0∙4096+0∙2048+1∙1024+1∙512+1∙256+1∙128+1∙64+0∙32+0∙16+0∙8+1∙4+0∙2+1∙1 = 32768+0+8192+0+0+1024+512+256+128+64+0+0+0+4+0+1 = 4294910
got It: 10100111110001012 =4294910
Translate the number 4294910 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
42949 | 16 | | | |
-42944 | 2684 | 16 | | |
5 | -2672 | 167 | 16 | |
| C | -160 | A | |
| | 7 | | |
|
the result of the conversion was:
4294910 = A7C516
answer: 10100111110001012 = A7C516