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 octal to binary like this:
217.358 = 2 1 7. 3 5 = 2(=010) 1(=001) 7(=111). 3(=011) 5(=101) = 010001111.0111012
answer: 217.358 = 10001111.0111012
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
2∙82+1∙81+7∙80+3∙8-1+5∙8-2 = 2∙64+1∙8+7∙1+3∙0.125+5∙0.015625 = 128+8+7+0.375+0.078125 = 143.45312510
got It: 217.358 =143.45312510
Translate the number 143.45312510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
143 | 2 | | | | | | | |
-142 | 71 | 2 | | | | | | |
1 | -70 | 35 | 2 | | | | | |
| 1 | -34 | 17 | 2 | | | | |
| | 1 | -16 | 8 | 2 | | | |
| | | 1 | -8 | 4 | 2 | | |
| | | | 0 | -4 | 2 | 2 | |
| | | | | 0 | -2 | 1 | |
| | | | | | 0 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 453125*2 |
0 | .90625*2 |
1 | .8125*2 |
1 | .625*2 |
1 | .25*2 |
0 | .5*2 |
1 | .0*2 |
the result of the conversion was:
143.45312510 = 10001111.0111012
answer: 217.358 = 10001111.0111012