notyabussines Posted February 19, 2013 Posted February 19, 2013 I have the number 4.281.000 miliards ,how many bits are needed to represent this number in binary? just tell me where to start ?
pwagen Posted February 19, 2013 Posted February 19, 2013 Well, with 1 bit, you can represent 0 and 1. With 2 bit, you can represent 0-3. The formula should be something like 2^n-1, where n is the number of bits needed. So you either do that calculation, or you do it manually by increasing the number of bits you have until you can represent the number you want.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now