document.write( "Question 751866: A bank teller notices that he has 50 coins all of which are 5c and 10c pieces. He finds that the value of the coins is $4.20. How many of each must he have?\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #457444 by malglu(63)\"\" \"About 
You can put this solution on YOUR website!
there are 50 coins altogether
\n" ); document.write( "let n = the amount of 5c pieces and d the 10c pieces
\n" ); document.write( "so n+d =50
\n" ); document.write( "rearranging
\n" ); document.write( "d=50-n\r
\n" ); document.write( "\n" ); document.write( "now the value of n = 5 (cents), and d =10 (cents)
\n" ); document.write( "so 5n +10d = 420 (cents)\r
\n" ); document.write( "\n" ); document.write( "substituting d=50-n instead of d in the equation
\n" ); document.write( "5n + 10 (50-n) = 420
\n" ); document.write( "multiplying out and rearranging you get
\n" ); document.write( "80/5 =n
\n" ); document.write( "so n = 16
\n" ); document.write( "therefore d = 34
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" );