9c. Convert the decimal expansion of (1827) base 10 to its binary expansion. Show your work.
1827 = 2 * 913 + 1
913 = 2 *456 + 1
456 = 2 * 228 + 0
228 = 2 *114 + 0
114 = 2 * 57 + 0
57 = 2 * 28 + 1
28 = 2 * 14 + 0
14 = 2 * 7 + 0
7 = 2 * 3 + 1
3 = 2 * 1 + 1
1 = 2 * 0 + 1
Check : (1 * 2^10 + 1 * 2^9 + 1 * 2^8 + 0 * 2^7 + 0 * 2^6 + 1 * 2^5 + 0 * 2^4 + 0 * 2^3 + 0 * 2^2 + 1 * 2^1 + 1*2^0) = (1827) base 10.
(1827) base 10 = (11100100011) base 2.
Leave a Reply