document.write( "Question 885276: John has a bag of dimes and quarters. If there are a total of 30 coins in the bag worth $5.55, how many dimes and how many quarters does john have? \n" ); document.write( "
Algebra.Com's Answer #535049 by nerdybill(7384)\"\" \"About 
You can put this solution on YOUR website!
John has a bag of dimes and quarters. If there are a total of 30 coins in the bag worth $5.55, how many dimes and how many quarters does john have?
\n" ); document.write( "Let d = dimes
\n" ); document.write( "and q = quarters
\n" ); document.write( "then
\n" ); document.write( "d + q = 30 (eq 1)
\n" ); document.write( ".10d + .25q = 5.55 (eq 2)
\n" ); document.write( "solve eq 1 for d:
\n" ); document.write( "d = 30-q
\n" ); document.write( "substitute into eq 2:
\n" ); document.write( ".10(30-q) +.25q = 5.55
\n" ); document.write( "3 - .10q + .25q = 5.55
\n" ); document.write( "3 + .15q = 5.55
\n" ); document.write( ".15q = 2.55
\n" ); document.write( "q = 17 (quarters)
\n" ); document.write( ".
\n" ); document.write( "dimes:
\n" ); document.write( "d + 17 = 30
\n" ); document.write( "d = 13
\n" ); document.write( "
\n" );