If \(M5_{ten} = 1001011_{two}\) find the value of M
Answer Details
To convert a number from base 2 to base 10, we multiply each digit by its corresponding power of 2 and sum the results. For example, in the binary number 1001, the first digit (from the right) represents 2^0 (1), the second digit represents 2^1 (2), the third digit represents 2^2 (4), and the fourth digit represents 2^3 (8). So, to convert 1001 to base 10, we compute:
1*2^0 + 0*2^1 + 0*2^2 + 1*2^3 = 1 + 0 + 0 + 8 = 9
Using this method, we can convert the binary number 1001011 to base 10:
1*2^0 + 1*2^1 + 0*2^2 + 1*2^3 + 0*2^4 + 0*2^5 + 1*2^6 = 1 + 2 + 0 + 8 + 0 + 0 + 64 = 75
Therefore, M5 in base 10 is 75, and since M5 is in base 10, M is simply 7. So the answer is 7.