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