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:
573.218 = 5 7 3. 2 1 = 5(=101) 7(=111) 3(=011). 2(=010) 1(=001) = 101111011.0100012
answer: 573.218 = 101111011.0100012
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
5∙82+7∙81+3∙80+2∙8-1+1∙8-2 = 5∙64+7∙8+3∙1+2∙0.125+1∙0.015625 = 320+56+3+0.25+0.015625 = 379.26562510
got It: 573.218 =379.26562510
Translate the number 379.26562510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
379 | 2 | | | | | | | | |
-378 | 189 | 2 | | | | | | | |
1 | -188 | 94 | 2 | | | | | | |
| 1 | -94 | 47 | 2 | | | | | |
| | 0 | -46 | 23 | 2 | | | | |
| | | 1 | -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. | 265625*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:
379.26562510 = 101111011.0100012
answer: 573.218 = 101111011.0100012