5 Co.10101)2 convert the following numbers into decimal
Answers
Answer:
Co.10101)2 convert the following numbers into decimal
An easy method of converting decimal to binary number equivalents is to write down the decimal number and to continually divide-by-2 (two) to give a result and a remainder of either a “1” or a “0” until the final result equals zero. So for example. Convert the decimal number 29410 into its binary number equivalent.
(10101)2 = (21)10
Explanation -
Step 1 : Write down the binary number:
10101
Step 2 : Multiply each digit of the binary number by the corresponding power of two:
1x24 + 0x23 + 1x22 + 0x21 + 1x20
Step 3 : Solve the powers:
1x16 + 0x8 + 1x4 + 0x2 + 1x1 = 16 + 0 + 4 + 0 + 1
Step 4 : Add up the numbers written above:
16 + 0 + 4 + 0 + 1 = 21.
So, 21 is the decimal equivalent of the binary number 10101.