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:
BA.4F16 = B A. 4 F = B(=1011) A(=1010). 4(=0100) F(=1111) = 10111010.010011112
answer: BA.4F16 = 10111010.010011112
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
11∙161+10∙160+4∙16-1+15∙16-2 = 11∙16+10∙1+4∙0.0625+15∙0.00390625 = 176+10+0.25+0.05859375 = 186.3085937510
got It: BA.4F16 =186.3085937510
Translate the number 186.3085937510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
186 | 2 | | | | | | | |
-186 | 93 | 2 | | | | | | |
0 | -92 | 46 | 2 | | | | | |
| 1 | -46 | 23 | 2 | | | | |
| | 0 | -22 | 11 | 2 | | | |
| | | 1 | -10 | 5 | 2 | | |
| | | | 1 | -4 | 2 | 2 | |
| | | | | 1 | -2 | 1 | |
| | | | | | 0 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 30859375*2 |
0 | .61719*2 |
1 | .23438*2 |
0 | .46875*2 |
0 | .9375*2 |
1 | .875*2 |
1 | .75*2 |
1 | .5*2 |
1 | .0*2 |
the result of the conversion was:
186.3085937510 = 10111010.010011112
answer: BA.4F16 = 10111010.010011112