document.write( "Question 161472: Moolah has 27 coins that are all dimes and quarters. The value of th coins is $4.35. How many dimes and how many quarters does Moolah have? \n" ); document.write( "
Algebra.Com's Answer #118929 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
Moolah has 27 coins that are all dimes and quarters. The value of th coins is $4.35. How many dimes and how many quarters does Moolah have?
\n" ); document.write( "---------------------
\n" ); document.write( "D + Q = 27 (a total of 27 coins)
\n" ); document.write( "10D + 25Q = 435 (each dime is 10 cents, each quarter 25 cents. See that?)
\n" ); document.write( "-------------
\n" ); document.write( "Now it's 2 eqns in 2 variables, no longer a \"word problem\"
\n" ); document.write( "Substitution is the easiest approach.
\n" ); document.write( "Since D + Q = 27, D = 27-Q.
\n" ); document.write( "Sub for D in the 2nd eqn
\n" ); document.write( "10*(27-Q) + 25Q = 435
\n" ); document.write( "270 - 10Q + 25Q = 435
\n" ); document.write( "270 + 15Q = 435
\n" ); document.write( "15Q = 165
\n" ); document.write( "Q = 11 (11 quarters)
\n" ); document.write( "D = 27-Q
\n" ); document.write( "D = 16
\n" ); document.write( "That's it.
\n" ); document.write( "
\n" );