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:
02338 = 0 2 3 3 = 0(=000) 2(=010) 3(=011) 3(=011) = 0000100110112
answer: 02338 = 100110112
now let\'s make the transfer using the decimal system.
let\'s translate to decimal like this:
0∙83+2∙82+3∙81+3∙80 = 0∙512+2∙64+3∙8+3∙1 = 0+128+24+3 = 15510
got It: 02338 =15510
Translate the number 15510 в binary like this:
the Integer part of the number is divided by the base of the new number system:
155 | 2 | | | | | | | |
-154 | 77 | 2 | | | | | | |
1 | -76 | 38 | 2 | | | | | |
| 1 | -38 | 19 | 2 | | | | |
| | 0 | -18 | 9 | 2 | | | |
| | | 1 | -8 | 4 | 2 | | |
| | | | 1 | -4 | 2 | 2 | |
| | | | | 0 | -2 | 1 | |
| | | | | | 0 | | |
|
the result of the conversion was:
15510 = 100110112
answer: 02338 = 100110112