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:
0011010110112 = 0011 0101 1011 = 0011(=3) 0101(=5) 1011(=B) = 35B16
answer: 0011010110112 = 35B16
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
0∙211+0∙210+1∙29+1∙28+0∙27+1∙26+0∙25+1∙24+1∙23+0∙22+1∙21+1∙20 = 0∙2048+0∙1024+1∙512+1∙256+0∙128+1∙64+0∙32+1∙16+1∙8+0∙4+1∙2+1∙1 = 0+0+512+256+0+64+0+16+8+0+2+1 = 85910
got It: 0011010110112 =85910
Translate the number 85910 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
859 | 16 | | |
-848 | 53 | 16 | |
B | -48 | 3 | |
| 5 | | |
|
the result of the conversion was:
85910 = 35B16
answer: 0011010110112 = 35B16