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:
01111111011010102 = 0111 1111 0110 1010 = 0111(=7) 1111(=F) 0110(=6) 1010(=A) = 7F6A16
answer: 01111111011010102 = 7F6A16
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
0∙215+1∙214+1∙213+1∙212+1∙211+1∙210+1∙29+1∙28+0∙27+1∙26+1∙25+0∙24+1∙23+0∙22+1∙21+0∙20 = 0∙32768+1∙16384+1∙8192+1∙4096+1∙2048+1∙1024+1∙512+1∙256+0∙128+1∙64+1∙32+0∙16+1∙8+0∙4+1∙2+0∙1 = 0+16384+8192+4096+2048+1024+512+256+0+64+32+0+8+0+2+0 = 3261810
got It: 01111111011010102 =3261810
Translate the number 3261810 в hexadecimal like this:
the Integer part of the number is divided by the base of the new number system:
32618 | 16 | | | |
-32608 | 2038 | 16 | | |
A | -2032 | 127 | 16 | |
| 6 | -112 | 7 | |
| | F | | |
|
the result of the conversion was:
3261810 = 7F6A16
answer: 01111111011010102 = 7F6A16