Convert the number 126 from decimal to binary. Please provide a binary number in your answer.
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 = 100000; 32 = 10000; 16 = 1000; 8 = 100; 4 = 100, 2 = 10. Therefore, 126 (10) = 1111110 (2)
