document.write( "Question 928114: Please help me solve this: A man has 52 coins, all of which are dimes, quarters, and nickels. The total value of his change is $8.20. If the number of quarters is twice the number of nickels, how many of each does he have?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So far I have two equations set up: x+2y+z=52 and 0.10x +0.25y +0.05z=8.20
\n" ); document.write( "but I don't think those are right.
\n" ); document.write( "

Algebra.Com's Answer #563468 by rothauserc(4718)\"\" \"About 
You can put this solution on YOUR website!
let x be the number of nickels and y be the number dimes, then we have
\n" ); document.write( "2x +x +y = 52
\n" ); document.write( ".25(2x) + .05x + .10y = 8.20
\n" ); document.write( "solve first equation for y
\n" ); document.write( "y = 52 -3x
\n" ); document.write( "substitute for y in second equation
\n" ); document.write( ".25(2x) + .05x + .10(52-3x) = 8.20
\n" ); document.write( ".50x + .05x + 5.20 - .30x = 8.20
\n" ); document.write( ".25x = 3.00
\n" ); document.write( "x = 12
\n" ); document.write( "therefore,
\n" ); document.write( "there are 24 quarters, 12 nickels, 16 dimes
\n" ); document.write( "now check the answers
\n" ); document.write( "24*.25 + 12*.05 + 16*.10 = 8.20
\n" ); document.write( "6.00 + .60 + 1.60 = 8.20
\n" ); document.write( "8.20 = 8.20
\n" ); document.write( "answer checks :-)
\n" ); document.write( "
\n" ); document.write( "
\n" );