document.write( "Question 811778: You have 24 coins (either dimes or quarters only) in your pockets that are worth 4.50 dollars. How many coins are quarters? How many coins are dimes? \n" ); document.write( "
Algebra.Com's Answer #488874 by erica65404(394)\"\" \"About 
You can put this solution on YOUR website!
dimes = x
\n" ); document.write( "quarters = y
\n" ); document.write( "24 coins are the number of dimes and number of quarters
\n" ); document.write( "x + y = 24
\n" ); document.write( "dimes are .10 and quarters are .25 and we want 4.50.
\n" ); document.write( ".10x + .25y = 4.50
\n" ); document.write( "now solve the first equation for y
\n" ); document.write( "x + y = 24
\n" ); document.write( "y = 24 - x
\n" ); document.write( "now use the substitution method to plug this into the other equation.
\n" ); document.write( ".10x + .25(24 - x) = 4.50
\n" ); document.write( ".10x + 6 - .25x = 4.50
\n" ); document.write( "-.15x = -1.50
\n" ); document.write( "x = 10
\n" ); document.write( "now plug this into the first equation
\n" ); document.write( "10 + y = 24
\n" ); document.write( "y = 14
\n" ); document.write( "We now know we have 10 dimes and 14 quarters.
\n" ); document.write( "
\n" );