This transfer is possible in two ways: direct transfer and using the decimal system.
first, let\'s make a direct transfer.
Fill in the number with missing zeros on the left
let\'s do a direct translation from binary to hexadecimal like this:
0001011111012 = 0001 0111 1101 = 0001(=1) 0111(=7) 1101(=D) = 17D16
answer: 0001011111012 = 17D16
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
0∙211+0∙210+0∙29+1∙28+0∙27+1∙26+1∙25+1∙24+1∙23+1∙22+0∙21+1∙20 = 0∙2048+0∙1024+0∙512+1∙256+0∙128+1∙64+1∙32+1∙16+1∙8+1∙4+0∙2+1∙1 = 0+0+0+256+0+64+32+16+8+4+0+1 = 38110
got It: 0001011111012 =38110
Translate the number 38110 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
381 | 16 | | |
-368 | 23 | 16 | |
D | -16 | 1 | |
| 7 | | |
|
the result of the conversion was:
38110 = 17D16
answer: 0001011111012 = 17D16