document.write( "Question 315810: A person has 30 coins consisting of dimes and quarters. The total value of the coins is $4.95. Find the number of dimes and quarters.\r
\n" ); document.write( "\n" ); document.write( "I tried x(.25)+y(.10)=30\r
\n" ); document.write( "\n" ); document.write( "and\r
\n" ); document.write( "\n" ); document.write( "x(.25)+y(.10)=4.95\r
\n" ); document.write( "\n" ); document.write( "Neither came out quite right, so I'm not sure what I'm doing wrong. Please help. Thank you.
\n" ); document.write( "

Algebra.Com's Answer #225940 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"d\" = number of dimes
\n" ); document.write( "Let \"q\" = number of quarters
\n" ); document.write( "given:
\n" ); document.write( "(1) \"d+%2B+q+=+30\"
\n" ); document.write( "\".1d+%2B+.25q+=+4.95\"
\n" ); document.write( "(2) \"10d+%2B+25q+=+495\"
\n" ); document.write( "Multiply both sides of (1) by \"10\" and
\n" ); document.write( "subtract (1) from (2)
\n" ); document.write( "(2) \"10d+%2B+25q+=+495\"
\n" ); document.write( "(1) \"-10d+-+10q+=+-300\"
\n" ); document.write( "\"15q+=+195\"
\n" ); document.write( "\"q+=+13\"
\n" ); document.write( "and, since
\n" ); document.write( "\"d+%2B+q+=+30\"
\n" ); document.write( "\"d+=+30+-+13\"
\n" ); document.write( "\"d+=+17\"
\n" ); document.write( "The person has 17 dimes and 13 quarters
\n" ); document.write( "
\n" );