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:
54A16 = 5 4 A = 5(=0101) 4(=0100) A(=1010) = 101010010102
answer: 54A16 = 101010010102
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
5∙162+4∙161+10∙160 = 5∙256+4∙16+10∙1 = 1280+64+10 = 135410
got It: 54A16 =135410
Translate the number 135410 в binary like this:
the Integer part of the number is divided by the base of the new number system:
1354 | 2 | | | | | | | | | | |
-1354 | 677 | 2 | | | | | | | | | |
0 | -676 | 338 | 2 | | | | | | | | |
| 1 | -338 | 169 | 2 | | | | | | | |
| | 0 | -168 | 84 | 2 | | | | | | |
| | | 1 | -84 | 42 | 2 | | | | | |
| | | | 0 | -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:
135410 = 101010010102
answer: 54A16 = 101010010102