An alternative algorithm for converting a base 20 integer, dn−1dn−2 · · · d1d0, into a base 10 integer is stated as follows: Multiply di by 2i and add i 0’s on the right, and then add all of the results.
(a) Use this algorithm to convert GA720 to base 10. (G20 is 1610.)
(b) Prove that this algorithm is valid.
(c) Consider converting a base 20 fraction, 0.d−1d−2 · · · d−n+1d−n, into a base 10 fraction. State an algorithm analogous to the one above for doing the conversion.
(d) Apply your algorithm of part (c) to 0.FA720.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.