document.write( "Question 1028067: Barbara has some dimes and quarters. If she has
\n" ); document.write( "29 coins worth a total of
\n" ); document.write( "$3.95, how many of each type of coin does she have?
\n" ); document.write( "Dimes?
\n" ); document.write( "Quarters?
\n" ); document.write( "

Algebra.Com's Answer #643275 by fractalier(6550)\"\" \"About 
You can put this solution on YOUR website!
Call the numbers of dimes and quarters, d and q. Then we can write
\n" ); document.write( "d + q = 29 and the value equation
\n" ); document.write( "10d + 25q = 395 (we work in cents)
\n" ); document.write( "Now multiply the top one by 10 and subtract...we get
\n" ); document.write( "10d + 25q = 395
\n" ); document.write( "-(10d + 10q = 290)
\n" ); document.write( "-------------------
\n" ); document.write( "15q = 105
\n" ); document.write( "q = 7 quarters which means
\n" ); document.write( "d = 22 dimes
\n" ); document.write( "
\n" );