Computer Science, asked by Mayalu1, 23 hours ago

Convert Binary (10111) to Decima

Answers

Answered by rishikaar19
0

ans--》(10111)2 = (23)10

Step by step solution

Step 1: Write down the binary number:10111

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

1x24 + 0x23 + 1x22 + 1x21 + 1x20

Step 3: Solve the powers:

1x16 + 0x8 + 1x4 + 1x2 + 1x1 = 16 + 0 + 4 + 2 + 1

Step 4: Add up the numbers written above:

16 + 0 + 4 + 2 + 1 = 23.

So, 23 is the decimal equivalent of the binary number 10111.

Similar questions