document.write( "Question 945567: I have 30 coins consisting of 5c coins and 20c coins. If the total value of the coins is $3.45, how many coins do I have?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #576733 by kmanu(1)\"\" \"About 
You can put this solution on YOUR website!
Let x be the number of 5c coins
\n" ); document.write( "and y be the number of 20c coins
\n" ); document.write( "So we get the two equations as
\n" ); document.write( "x + y = 30 ........(1)
\n" ); document.write( "0.05x + 0.2x = $3.45 .........(2)
\n" ); document.write( "Multiplying equation (1) by -0.05 we get
\n" ); document.write( "-0.05x - 0.05y = -1.5 ..........(3)
\n" ); document.write( "Adding equation (1) and (3) we get
\n" ); document.write( "0.15y = 1.95
\n" ); document.write( "Dividing both sides by 0.15 we get
\n" ); document.write( "y = 13
\n" ); document.write( "Now put y = 13 in equation (1) we get
\n" ); document.write( "x + 13 = 30
\n" ); document.write( "Subtracting both sides by 13 we get
\n" ); document.write( "y = 17\r
\n" ); document.write( "\n" ); document.write( "So , you use 13 5c coins and 17 20c coins
\n" ); document.write( "
\n" );