document.write( "Question 936396: A jar contains 50 coins all either 2 cents or 5 cents. The total value of the coins is $1.87. How many 2 cents coins are there? \n" ); document.write( "
Algebra.Com's Answer #569842 by srinivas.g(540)\"\" \"About 
You can put this solution on YOUR website!
let x be the no of 2 cents coins and y be the no of 5 cents coins
\n" ); document.write( " total no of coins =50
\n" ); document.write( " x+y= 50 -------------eq(1)\r
\n" ); document.write( "\n" ); document.write( "The total value of the coins is $1.87
\n" ); document.write( " x*0.02+y*0.05 = 1.87 .........eq(2)
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: SOLVE linear system by SUBSTITUTION
Solve:
\n" ); document.write( " We'll use substitution. After moving 1*y to the right, we get:
\n" ); document.write( " \"1%2Ax+=+50+-+1%2Ay\", or \"x+=+50%2F1+-+1%2Ay%2F1\". Substitute that
\n" ); document.write( " into another equation:
\n" ); document.write( " \"0.02%2A%2850%2F1+-+1%2Ay%2F1%29+%2B+0.05%5Cy+=+1.87\" and simplify: So, we know that y=29. Since \"x+=+50%2F1+-+1%2Ay%2F1\", x=21.
\n" ); document.write( "
\n" ); document.write( " Answer: \"system%28+x=21%2C+y=29+%29\".
\n" ); document.write( "

\n" ); document.write( "\n" ); document.write( " no of 2 cents coins =21
\n" ); document.write( " no of 5 cents coins =29
\n" ); document.write( "
\n" );