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:
652.2216 = 6 5 2. 2 2 = 6(=0110) 5(=0101) 2(=0010). 2(=0010) 2(=0010) = 11001010010.00100012
answer: 652.2216 = 11001010010.00100012
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
6∙162+5∙161+2∙160+2∙16-1+2∙16-2 = 6∙256+5∙16+2∙1+2∙0.0625+2∙0.00390625 = 1536+80+2+0.125+0.0078125 = 1618.132812510
got It: 652.2216 =1618.132812510
Translate the number 1618.132812510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
1618 | 2 | | | | | | | | | | |
-1618 | 809 | 2 | | | | | | | | | |
0 | -808 | 404 | 2 | | | | | | | | |
| 1 | -404 | 202 | 2 | | | | | | | |
| | 0 | -202 | 101 | 2 | | | | | | |
| | | 0 | -100 | 50 | 2 | | | | | |
| | | | 1 | -50 | 25 | 2 | | | | |
| | | | | 0 | -24 | 12 | 2 | | | |
| | | | | | 1 | -12 | 6 | 2 | | |
| | | | | | | 0 | -6 | 3 | 2 | |
| | | | | | | | 0 | -2 | 1 | |
| | | | | | | | | 1 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 1328125*2 |
0 | .26563*2 |
0 | .53125*2 |
1 | .0625*2 |
0 | .125*2 |
0 | .25*2 |
0 | .5*2 |
1 | .0*2 |
the result of the conversion was:
1618.132812510 = 11001010010.00100012
answer: 652.2216 = 11001010010.00100012