Computer Science, asked by manju12devi2252, 1 month ago

convert the following binary number into decimal number 1) 10001110 2) 10111 3) 10101

Answers

Answered by hardeepkaur617
2

Explanation:

Step 1: Write down the binary number:

10001110

Step 2: Multiply each digit of the binary number by the corresponding power of two:

1x27 + 0x26 + 0x25 + 0x24 + 1x23 + 1x22 + 1x21 + 0x20

Step 3: Solve the powers:

1x128 + 0x64 + 0x32 + 0x16 + 1x8 + 1x4 + 1x2 + 0x1 = 128 + 0 + 0 + 0 + 8 + 4 + 2 + 0

Step 4: Add up the numbers written above:

128 + 0 + 0 + 0 + 8 + 4 + 2 + 0 = 142. This is the decimal equivalent of the binary number 10001110.

Similar questions