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:
34.3218 = 3 4. 3 2 1 = 3(=011) 4(=100). 3(=011) 2(=010) 1(=001) = 011100.0110100012
answer: 34.3218 = 11100.0110100012
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
3∙81+4∙80+3∙8-1+2∙8-2+1∙8-3 = 3∙8+4∙1+3∙0.125+2∙0.015625+1∙0.001953125 = 24+4+0.375+0.03125+0.001953125 = 28.40820312510
got It: 34.3218 =28.40820312510
Translate the number 28.40820312510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
28 | 2 | | | | |
-28 | 14 | 2 | | | |
0 | -14 | 7 | 2 | | |
| 0 | -6 | 3 | 2 | |
| | 1 | -2 | 1 | |
| | | 1 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 408203125*2 |
0 | .81641*2 |
1 | .63281*2 |
1 | .26563*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:
28.40820312510 = 11100.0110100012
answer: 34.3218 = 11100.0110100012