document.write( "Question 191743: Can someone help me please? I'm having a real hard time with this.
\n" ); document.write( "A student makes a $9.50 purchase at the bookstore with a 20 dollar bill. The store has no bills and gives the change in quarters and 50-cent pieces. There are 30 coins in all.How many of each kind are there? Thanks alot.
\n" ); document.write( "

Algebra.Com's Answer #143850 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
A student makes a $9.50 purchase at the bookstore with a 20 dollar bill. The store has no bills and gives the change in quarters and 50-cent pieces. There are 30 coins in all.How many of each kind are there?
\n" ); document.write( "----------------
\n" ); document.write( "Change = $10.50
\n" ); document.write( "------------------
\n" ); document.write( "Equations:
\n" ); document.write( "Quantity Eq.::: q + f = 30
\n" ); document.write( "Value Eq;;;;;;25q + 50f = 1050 cents
\n" ); document.write( "---------------------------------------------
\n" ); document.write( "Solve by substitution:
\n" ); document.write( "q = 30-f
\n" ); document.write( "Substitute to get: 25(30-f) + 50f = 1050
\n" ); document.write( "750 - 25f+ 50f = 1050
\n" ); document.write( "25f = 300
\n" ); document.write( "f = 12 (# of 50-cent pieces)
\n" ); document.write( "-----------------------
\n" ); document.write( "Substitute into q + f = 30 to solve for \"q\":
\n" ); document.write( "q + 12 = 30
\n" ); document.write( "q = 18 (# of quarters in the change)
\n" ); document.write( "================================================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" ); document.write( "
\n" );