document.write( "Question 240496: How can you know how many number there are in a given sequence?
\n" );
document.write( "For example from 1 to 100, there are 100 numbers
\n" );
document.write( "From 100 to 1000 there are 901 numbers(I know because my teacher tells me)
\n" );
document.write( "How can you know right away how many numbers there are?\r
\n" );
document.write( "\n" );
document.write( "Please explain a little bit carefully! Thanks for your helps! \n" );
document.write( "
Algebra.Com's Answer #176219 by jsmallt9(3758)![]() ![]() ![]() You can put this solution on YOUR website! In general, the formula is: last - first + 1. \n" ); document.write( "To understand this, let's look at the example you gave: How many numbers from 100 to 1000?
\n" ); document.write( "Let's look at a general case. Let L = the last (or highest number) and F = the first (or lowest number in the sequence. That makes (F-1) the highest number that is not in the sequence. \n" ); document.write( "Therefore the number of numbers in the sequence will be: the number of numbers from 1 to L (which is L) minus the number of numbers from 1 to (F-1) (which is (F-1): \n" ); document.write( "L - (F-1) = L - F + 1 \n" ); document.write( "which is the formula I gave you at the beginning. \n" ); document.write( "Here's an example: How many numbers are there from 536 to 2349? Answer: 2349 - 536 + 1 = 1814 \n" ); document.write( "I hope this helps. \n" ); document.write( " |