Raj wants to convert binary number to decimal number system. Binary number system is a
base 2 number system. It uses only 2 symbols to represent all its numbers i.e. 0 and 1.
Build an algorithm for this conversion.
Answers
Answered by
10
Answer:
Example Binary number 1101011
Now we will convert the given binary number into decimal using the exponent power of 2 starting from 0 (till number of digits in given binary number)
(1*2^6)+(1*2^5)+(0*2^4)+(1*2^3)+(0*2^2)+(1*2^1)+(1*2^0)
=64+32+0+8+0+2+1
=107
Similar questions
English,
1 month ago
CBSE BOARD XII,
1 month ago
Environmental Sciences,
3 months ago
Physics,
3 months ago
English,
10 months ago