The numbers on the left side of the point represent whole numbers such as ones, tens, hundreds, and thousands. The numbers on the right side of the point are the decimal values. The first place after the decimal is got by dividing the number by 10; it is called the tenths place. The second place after the decimal is got by dividing the number by ; it is called the hundredths place.
The third place after the decimal is got by dividing the number by ; it is called the thousandths place. To write a fraction as a decimal, divide the numerator top of the fraction by the denominator bottom of the fraction. Use long division, if necessary, and note where to place the decimal point in your answer. For example, to write as a decimal, divide 3 by 5, which will result in 0. The greatest 7-digit number is 99,99, The smallest 6-digit number is 1,00, The predecessor of 98,99, is the number that comes just before it, and it is.
A 8-digit number is a number that has 8 digits where the first digit must be 1 or greater. How many 8-digit numbers are there? Smallest 8-digit number. The smallest 8-digit number is 1 followed by 7 zeros.
Well, it depends on your locale, in Portugal we use ',' as the decimal separator. Anyway I changed it to '. Wikipedia link — ubik. Of course if you want to know the number of bits that represent a specific number, then that formula is correct. Show 3 more comments. Thank you for giving a simple formula instead of a long winded explanation. Much more usable and to the point.
Isaac Humans need explanations, machines without reasoning not. This is a nice answer. I was not thinking of those log functions as having any particular base since they were in ratio, and b was not necessarily 10 in the derivation. The convenience of choosing base 10 here just escaped my attention. What a great explanation. Thank you. Your answer made me realize how terrible the explanation in my book was — Peter Chaula. This question was old when I posted the answer a couple of years ago; good to know that someone still found it helpful ; — ad absurdum.
You need 20 bits for 6-digit numbers, not 19, or 3. Assuming that the question is asking what's the minimum bits required for you to store 3 digits number My approach to this question would be: what's the maximum number of 3 digits number we need to store? Ans: what's the minimum amount of bits required for me to store this number?
Use similar approach to solve the other subquestions! Hope this helps! Arial Arial 4, 2 2 gold badges 16 16 silver badges 16 16 bronze badges.
Keep dividing the number by 2 until you get a quotient of 0. Arun Arun 2, 12 12 silver badges 11 11 bronze badges. Exampe: 13 to binary. Cooper Cooper 3 3 silver badges 9 9 bronze badges.
It works for the first two but when you come to the next two questions, they are large enough to be solved by your way. Gate Aspirant Gate Aspirant 21 3 3 bronze badges. Taking a case where you only want three digits, ie your case 1. Taking the ceil value of n since 9. Starting with what we know here are the number from 0 to This one works! Thiagesh thg Thiagesh thg 7 7 bronze badges.
Alex Tuduran Alex Tuduran 26 3 3 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. You have to be careful when computing logarithms; floating-point inaccuracies could cause an incorrect result, particularly at power-of-two boundaries. People commonly round this to 3. You need to specify the constant with more precision to get the correct result. I think there is something wrong with the counting of bits on your site.
Yes, 2 5 is 6 bits and my formula gives that. Can you show me specifically what you calculated? I heard in class that an integer of size n takes O log n bits.
Why is that? Yes, you are correct. That is used commonly too. Thank you for your information sir. Can I know the formula for calculating the number of digits for n-bits?
Could you mail me if possible. Thank you sir. Sir, It was a very informative post. I came across it through google search for minimum bits required for representing a decimal fraction. I am still searching for the answer. Any suggestion please.
Skip to content Every integer has an equivalent representation in decimal and binary.
0コメント