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:
A6.B16 = A 6. B = A(=1010) 6(=0110). B(=1011) = 10100110.10112
answer: A6.B16 = 10100110.10112
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
10∙161+6∙160+11∙16-1 = 10∙16+6∙1+11∙0.0625 = 160+6+0.6875 = 166.687510
got It: A6.B16 =166.687510
Translate the number 166.687510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
166 | 2 | | | | | | | |
-166 | 83 | 2 | | | | | | |
0 | -82 | 41 | 2 | | | | | |
| 1 | -40 | 20 | 2 | | | | |
| | 1 | -20 | 10 | 2 | | | |
| | | 0 | -10 | 5 | 2 | | |
| | | | 0 | -4 | 2 | 2 | |
| | | | | 1 | -2 | 1 | |
| | | | | | 0 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 6875*2 |
1 | .375*2 |
0 | .75*2 |
1 | .5*2 |
1 | .0*2 |
the result of the conversion was:
166.687510 = 10100110.10112
answer: A6.B16 = 10100110.10112