Computer Science, asked by biharis01, 1 month ago

1 . How do you convert a binary number into a decimal number? Describe.

-

Answers

Answered by SparklingThunder
3

To convert a binary number into decimal number multiply the digit with 2^n where n is the place value of digit starting from zero and add all values . For Example :-

Binary number =(11101)_2

Starting from right of number :-

 \small{1 \times  {2}^{0}  + 0 \times  {2}^{1}  + 1 \times  {2}^{2}   +  1 \times  {2}^{3}  + 1 \times  {2}^{4} } \\  \\  \small{ = 1 \times 1 + 0 \times 2 +1 \times 4 + 1 \times 8 + 1 \times 16 } \\ \\  \small{ = 1 + 0 + 4 + 8 + 16 }  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \: \\  \\ \small{ = (29)_{10} } \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \:  \: \:  \:  \:  \:  \:  \:  \:  \: \:  \:  \:  \:  \:

Hence ,Converted into decimal .

Similar questions