- #1
mooncrater
- 217
- 18
Homework Statement
Here is this line in my book which says, "Although the minimum number of bits required to code ##2^n## distinct quantities in n, there is no maximum number of bits that may be used for a binary code. For example, the ten decimal digits can be coded with ten bits, and each decimal digit assigned a bit combination of nine 0's and a 1. In this particular binary code, the digit 6 is assigned the bit combination 0001000000.
Homework Equations
A binary number like 1010 is changed to it's decimal form by:
##1*2^3+0*2^2+1*2^1+0*2^0##
which is equal to : ##10##
The Attempt at a Solution
So, in this particular case, the conversion is not clear to me. When we convert 0001000000 to decimal we'll get ##2^6## and not 6. We can get 6 through 0000000110 rather. So where am I wrong? Am I misunderstanding something?
Moon