Final answer:
To convert 1010.01 to decimal in 2's complement, follow these steps: determine the sign, find the value of the non-sign bit positions, and multiply the sum by -1. 1010.01 in 2's complement is equal to -4.75 in decimal.
Step-by-step explanation:
In order to convert 1010.01 to decimal in 2's complement, we need to understand how 2's complement works.
When converting a binary number in 2's complement to decimal, we first determine the sign. If the most significant bit is 1, then the number is negative. If it is 0, then the number is positive.
Since the most significant bit of 1010.01 is 1, we know that the number is negative. To find the decimal value, we can use the following steps:
- Determine the value of the non-sign bit positions. In this case, we have four non-sign bit positions: 4, 2, -1/2, and -1/4. The sum of these values is 4 + 2 + (-1/2) + (-1/4) = 4 + 2 - 1/2 - 1/4 = 4.75
- Multiply the sum by -1 to account for the negative sign. -1 * 4.75 = -4.75
Therefore, 1010.01 in 2's complement is equal to -4.75 in decimal.