document.write( "Question 1139186: If Dylan has 12 nickels and quarters in his pocket, and they have a combined value of 220 cents, how many of each coin does he have? \n" ); document.write( "
Algebra.Com's Answer #756971 by greenestamps(13200)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "Using algebra...

\n" ); document.write( "q = # of quarters
\n" ); document.write( "n = number of nickels

\n" ); document.write( "\"q%2Bn+=+12\" there are 12 coins total
\n" ); document.write( "\"25q%2B5n+=+220\" the total value of the coins is 220 cents

\n" ); document.write( "Solve by whatever method you want....
\n" ); document.write( "Elimination looks easiest -- multiply the first equation by -5 and add the resulting equation to the second equation, eliminating n; then go from there.

\n" ); document.write( "Using logical reasoning and simple mental arithmetic...

\n" ); document.write( "(1) If all 12 coins were quarters, the total would be 12*25 = 300 cents; that is (300-220) = 80 cents more than the actual total.
\n" ); document.write( "(2) Exchanging one of the quarters for a nickel keeps the total number of coins at 12 and decreases the total value by (25-5) = 20 cents.
\n" ); document.write( "(3) You have to do that 80/20 = 4 times to get the total down to the correct 220 cents.

\n" ); document.write( "ANSWER: 4 nickels and 8 quarters
\n" ); document.write( "
\n" );