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:
010010102 = 0100 1010 = 0100(=4) 1010(=A) = 4A16
answer: 010010102 = 4A16
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
0∙27+1∙26+0∙25+0∙24+1∙23+0∙22+1∙21+0∙20 = 0∙128+1∙64+0∙32+0∙16+1∙8+0∙4+1∙2+0∙1 = 0+64+0+0+8+0+2+0 = 7410
got It: 010010102 =7410
Translate the number 7410 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
74 | 16 | |
-64 | 4 | |
A | | |
|
the result of the conversion was:
7410 = 4A16
answer: 010010102 = 4A16