let\'s translate to decimal like this:
1∙23+0∙22+1∙21+0∙20+1∙2-1+0∙2-2+0∙2-3+1∙2-4 = 1∙8+0∙4+1∙2+0∙1+1∙0.5+0∙0.25+0∙0.125+1∙0.0625 = 8+0+2+0+0.5+0+0+0.0625 = 10.562510
got It: 1010.10012 =10.562510
Translate the number 10.562510 в ternary like this:
the Integer part of the number is divided by the base of the new number system:
10 | 3 | | |
-9 | 3 | 3 | |
1 | -3 | 1 | |
| 0 | | |
|
the Fractional part of the number is multiplied by the base of the new number system:
|
0. | 5625*3 |
1 | .6875*3 |
2 | .0625*3 |
0 | .1875*3 |
0 | .5625*3 |
1 | .6875*3 |
2 | .0625*3 |
0 | .1875*3 |
0 | .5625*3 |
1 | .6875*3 |
2 | .0625*3 |
the result of the conversion was:
10.562510 = 101.12001200123
answer: 1010.10012 = 101.12001200123