Q. Show the Decimal equivalent of a binary number?
In binary numbers we have two digits 0 and 1 in addition they can also be signified as a string of these two-digits known as bits. The base of binary number system is 2.
E.g. 101010 is a valid binary number.
Decimal equivalent of a binary number:
For converting value of binary numbers into decimal equivalent we have to find its value that is found by multiplying a digit by its place value. E.g. binary number 101010 is equal to:
1×25+0×24+1×23+ 0×22+1×21+0×20
= 1×32 + 0×16 + 1×8 + 0×4 + 1×2 + 0×1
= 32 + 8 + 2
= 42 in decimal.