document.write( "Question 547534: a ferry charges children $5 and adults $8. Let x be the number of children and y the number of adults. How many ordered pairs (combinations of cchildren and adults) consisting of whole numbers are possible so the total fee for al passengers is exactly $1000? \n" ); document.write( "
Algebra.Com's Answer #356424 by mananth(16949)\"\" \"About 
You can put this solution on YOUR website!
x+y=13\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "5x+8y=1000\r
\n" ); document.write( "\n" ); document.write( "8y=1000-5x
\n" ); document.write( "y=125-5/8 x\r
\n" ); document.write( "\n" ); document.write( "y has to be a whole number\r
\n" ); document.write( "\n" ); document.write( "so (5/8)x should be a whole number\r
\n" ); document.write( "\n" ); document.write( "x should take values of multipls of 8 till y is equal to 0\r
\n" ); document.write( "\n" ); document.write( "5/8 * x = 125
\n" ); document.write( "x=8*125/5 = 200 \r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "25 combinations are possible
\n" ); document.write( "
\n" );