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:
5.316 = 5. 3 = 5(=0101). 3(=0011) = 101.00112
answer: 5.316 = 101.00112
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
5∙160+3∙16-1 = 5∙1+3∙0.0625 = 5+0.1875 = 5.187510
got It: 5.316 =5.187510
Translate the number 5.187510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
5 | 2 | | |
-4 | 2 | 2 | |
1 | -2 | 1 | |
| 0 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 1875*2 |
0 | .375*2 |
0 | .75*2 |
1 | .5*2 |
1 | .0*2 |
the result of the conversion was:
5.187510 = 101.00112
answer: 5.316 = 101.00112