Write the steps to convert a binary number into a decimal number?
Answers
Firstly Remember the Above cod e.
If we have to convert (11001) base 2 {binary no. }
Into Decimal no.
So ,
Now, Select the number from cod e where voltage is on and Add them.
So the Numbers where voltage is on are :
Answer:
using method called "positions"
1. write down the binary number.
2. starting with the least significant digit(LSB - the rightmost one), multiply the digit by the value of the binary number(2) to the power of position value. continue doing this until you reach the most significant digit(MSB - the leftmost one).
3. Add all the results and that will be your decimal equivalent of the given number.
Explanation:
for example I have taken 1010 as my binary number.
step1: 1010
step2: (1 * 2³) + (0 * 2²) + (1 * 2¹) + (0 * 2⁰)
step3: (1 * 8) + (0 * 4) + (1 * 2) + (0 * 1) = 8 + 0 + 2 + 0 = 10
so, for my binary number I got 10 as decimal equivalent.