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:
2AB16 = 2 A B = 2(=0010) A(=1010) B(=1011) = 10101010112
answer: 2AB16 = 10101010112
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
2∙162+10∙161+11∙160 = 2∙256+10∙16+11∙1 = 512+160+11 = 68310
got It: 2AB16 =68310
Translate the number 68310 в binary like this:
the Integer part of the number is divided by the base of the new number system:
683 | 2 | | | | | | | | | |
-682 | 341 | 2 | | | | | | | | |
1 | -340 | 170 | 2 | | | | | | | |
| 1 | -170 | 85 | 2 | | | | | | |
| | 0 | -84 | 42 | 2 | | | | | |
| | | 1 | -42 | 21 | 2 | | | | |
| | | | 0 | -20 | 10 | 2 | | | |
| | | | | 1 | -10 | 5 | 2 | | |
| | | | | | 0 | -4 | 2 | 2 | |
| | | | | | | 1 | -2 | 1 | |
| | | | | | | | 0 | | |
|
the result of the conversion was:
68310 = 10101010112
answer: 2AB16 = 10101010112