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 hexadecimal to binary like this:
010216 = 0 1 0 2 = 0(=0000) 1(=0001) 0(=0000) 2(=0010) = 1000000102
answer: 010216 = 1000000102
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
0∙163+1∙162+0∙161+2∙160 = 0∙4096+1∙256+0∙16+2∙1 = 0+256+0+2 = 25810
got It: 010216 =25810
Translate the number 25810 в binary like this:
the Integer part of the number is divided by the base of the new number system:
258 | 2 | | | | | | | | |
-258 | 129 | 2 | | | | | | | |
0 | -128 | 64 | 2 | | | | | | |
| 1 | -64 | 32 | 2 | | | | | |
| | 0 | -32 | 16 | 2 | | | | |
| | | 0 | -16 | 8 | 2 | | | |
| | | | 0 | -8 | 4 | 2 | | |
| | | | | 0 | -4 | 2 | 2 | |
| | | | | | 0 | -2 | 1 | |
| | | | | | | 0 | | |
|
the result of the conversion was:
25810 = 1000000102
answer: 010216 = 1000000102