document.write( "Question 279801: Alicia opens her piggy bank to find only nickles and dimes inside. She counts the coins and finds that there are 38 coins totaling $3.20. How many nickles were in the piggy bank, and how many dimes where in the piggy bank? \n" ); document.write( "
Algebra.Com's Answer #203374 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
Alicia opens her piggy bank to find only nickles and dimes inside.
\n" ); document.write( "She counts the coins and finds that there are 38 coins totaling $3.20.
\n" ); document.write( "How many nickles were in the piggy bank, and how many dimes where in the piggy bank?
\n" ); document.write( "----------------
\n" ); document.write( "Equations:
\n" ); document.write( "Quantity: n + q = 38
\n" ); document.write( "Value::: 5n +25q = 320 cents
\n" ); document.write( "----------------------------------
\n" ); document.write( "multiply thru the Quantity equation by 4 to get:
\n" ); document.write( "5n + 5q = 190
\n" ); document.write( "-----
\n" ); document.write( "Subtract that from the Value Equation and solve for \"q\":
\n" ); document.write( "20q = 130
\n" ); document.write( "q = 6.5
\n" ); document.write( "==================
\n" ); document.write( "Note: That value of q should be a whole number.
\n" ); document.write( "Check the data in your problem.
\n" ); document.write( "==================================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" ); document.write( "
\n" );