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:
0110.000111008 = 0 1 1 0. 0 0 0 1 1 1 0 0 = 0(=000) 1(=001) 1(=001) 0(=000). 0(=000) 0(=000) 0(=000) 1(=001) 1(=001) 1(=001) 0(=000) 0(=000) = 000001001000.0000000000010010010000002
answer: 0110.000111008 = 1001000.0000000000010010012
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
0∙83+1∙82+1∙81+0∙80+0∙8-1+0∙8-2+0∙8-3+1∙8-4+1∙8-5+1∙8-6+0∙8-7+0∙8-8 = 0∙512+1∙64+1∙8+0∙1+0∙0.125+0∙0.015625+0∙0.001953125+1∙0.000244140625+1∙3.0517578125E-5+1∙3.814697265625E-6+0∙4.7683715820312E-7+0∙5.9604644775391E-8 = 0+64+8+0+0+0+0+0.000244140625+3.0517578125E-5+3.814697265625E-6+0+0 = 72.0002784729003906210
got It: 0110.000111008 =72.0002784729003906210
Translate the number 72.0002784729003906210 в binary like this:
the Integer part of the number is divided by the base of the new number system:
72 | 2 | | | | | | |
-72 | 36 | 2 | | | | | |
0 | -36 | 18 | 2 | | | | |
| 0 | -18 | 9 | 2 | | | |
| | 0 | -8 | 4 | 2 | | |
| | | 1 | -4 | 2 | 2 | |
| | | | 0 | -2 | 1 | |
| | | | | 0 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 00027847290039062*2 |
0 | .00056*2 |
0 | .00111*2 |
0 | .00223*2 |
0 | .00446*2 |
0 | .00891*2 |
0 | .01782*2 |
0 | .03564*2 |
0 | .07129*2 |
0 | .14258*2 |
0 | .28516*2 |
the result of the conversion was:
72.0002784729003906210 = 1001000.00000000002
answer: 0110.000111008 = 1001000.00000000002