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:
3AF16 = 3 A F = 3(=0011) A(=1010) F(=1111) = 11101011112
answer: 3AF16 = 11101011112
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
3∙162+10∙161+15∙160 = 3∙256+10∙16+15∙1 = 768+160+15 = 94310
got It: 3AF16 =94310
Translate the number 94310 в binary like this:
the Integer part of the number is divided by the base of the new number system:
943 | 2 | | | | | | | | | |
-942 | 471 | 2 | | | | | | | | |
1 | -470 | 235 | 2 | | | | | | | |
| 1 | -234 | 117 | 2 | | | | | | |
| | 1 | -116 | 58 | 2 | | | | | |
| | | 1 | -58 | 29 | 2 | | | | |
| | | | 0 | -28 | 14 | 2 | | | |
| | | | | 1 | -14 | 7 | 2 | | |
| | | | | | 0 | -6 | 3 | 2 | |
| | | | | | | 1 | -2 | 1 | |
| | | | | | | | 1 | | |
|
the result of the conversion was:
94310 = 11101011112
answer: 3AF16 = 11101011112