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:
A2F16 = A 2 F = A(=1010) 2(=0010) F(=1111) = 1010001011112
answer: A2F16 = 1010001011112
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
10∙162+2∙161+15∙160 = 10∙256+2∙16+15∙1 = 2560+32+15 = 260710
got It: A2F16 =260710
Translate the number 260710 в binary like this:
the Integer part of the number is divided by the base of the new number system:
2607 | 2 | | | | | | | | | | | |
-2606 | 1303 | 2 | | | | | | | | | | |
1 | -1302 | 651 | 2 | | | | | | | | | |
| 1 | -650 | 325 | 2 | | | | | | | | |
| | 1 | -324 | 162 | 2 | | | | | | | |
| | | 1 | -162 | 81 | 2 | | | | | | |
| | | | 0 | -80 | 40 | 2 | | | | | |
| | | | | 1 | -40 | 20 | 2 | | | | |
| | | | | | 0 | -20 | 10 | 2 | | | |
| | | | | | | 0 | -10 | 5 | 2 | | |
| | | | | | | | 0 | -4 | 2 | 2 | |
| | | | | | | | | 1 | -2 | 1 | |
| | | | | | | | | | 0 | | |
|
the result of the conversion was:
260710 = 1010001011112
answer: A2F16 = 1010001011112