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:
46.258 = 4 6. 2 5 = 4(=100) 6(=110). 2(=010) 5(=101) = 100110.0101012
answer: 46.258 = 100110.0101012
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
4∙81+6∙80+2∙8-1+5∙8-2 = 4∙8+6∙1+2∙0.125+5∙0.015625 = 32+6+0.25+0.078125 = 38.32812510
got It: 46.258 =38.32812510
Translate the number 38.32812510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
38 | 2 | | | | | |
-38 | 19 | 2 | | | | |
0 | -18 | 9 | 2 | | | |
| 1 | -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. | 328125*2 |
0 | .65625*2 |
1 | .3125*2 |
0 | .625*2 |
1 | .25*2 |
0 | .5*2 |
1 | .0*2 |
the result of the conversion was:
38.32812510 = 100110.0101012
answer: 46.258 = 100110.0101012