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:
5.678 = 5. 6 7 = 5(=101). 6(=110) 7(=111) = 101.1101112
answer: 5.678 = 101.1101112
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
5∙80+6∙8-1+7∙8-2 = 5∙1+6∙0.125+7∙0.015625 = 5+0.75+0.109375 = 5.85937510
got It: 5.678 =5.85937510
Translate the number 5.85937510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
5 | 2 | | |
-4 | 2 | 2 | |
1 | -2 | 1 | |
| 0 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 859375*2 |
1 | .71875*2 |
1 | .4375*2 |
0 | .875*2 |
1 | .75*2 |
1 | .5*2 |
1 | .0*2 |
the result of the conversion was:
5.85937510 = 101.1101112
answer: 5.678 = 101.1101112