Convert the number 126 from decimal to binary. How many units does this number contain?
September 14, 2020 | Education
| Let’s represent the number 126 as a sum of powers of two: 126 = 64 + 32 + 16 + 8 + 4 + 2. Now we translate each of the terms into a binary number system and add the results: 64 = 100 0000, 32 = 10000, 16 = 1 0000, 8 = 1000, 4 = 100, 2 = 10. Therefore, 126 (10) = 111 1110 (2)
