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:
675.218 = 6 7 5. 2 1 = 6(=110) 7(=111) 5(=101). 2(=010) 1(=001) = 110111101.0100012
answer: 675.218 = 110111101.0100012
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
6∙82+7∙81+5∙80+2∙8-1+1∙8-2 = 6∙64+7∙8+5∙1+2∙0.125+1∙0.015625 = 384+56+5+0.25+0.015625 = 445.26562510
got It: 675.218 =445.26562510
Translate the number 445.26562510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
445 | 2 | | | | | | | | |
-444 | 222 | 2 | | | | | | | |
1 | -222 | 111 | 2 | | | | | | |
| 0 | -110 | 55 | 2 | | | | | |
| | 1 | -54 | 27 | 2 | | | | |
| | | 1 | -26 | 13 | 2 | | | |
| | | | 1 | -12 | 6 | 2 | | |
| | | | | 1 | -6 | 3 | 2 | |
| | | | | | 0 | -2 | 1 | |
| | | | | | | 1 | | |
|
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:
445.26562510 = 110111101.0100012
answer: 675.218 = 110111101.0100012