document.write( "Question 642011: A man has 19 coins in his pocket, all of which are dimes and quarters. If the total value of his change is $ 3.25, how many dimes and how many quarters does he have? \n" ); document.write( "
Algebra.Com's Answer #403931 by DrBeeee(684)\"\" \"About 
You can put this solution on YOUR website!
Let d = the number of dimes
\n" ); document.write( "Let q = the number of quarters
\n" ); document.write( "the total number of coins is the sum of dimes and quarters giving
\n" ); document.write( "(1) d + q = 19
\n" ); document.write( "Now count up the value of your coins in CENTS. Each dime is ten cents and each quater is 25 cents, the total is $3.25 or 325 CENTS
\n" ); document.write( "(2) 10*d + 25*q = 325
\n" ); document.write( "Divide out 5 from (2) to simplify to
\n" ); document.write( "(3) 2d + 5q = 65
\n" ); document.write( "Now solve (1) and (3) simultaneously to yield
\n" ); document.write( "(4) d = 10 and q = 9
\n" ); document.write( "Right? Yes!
\n" ); document.write( "Because (10 + 9) = 19 and 10 dimes is $1 and 9 quarters is $2.25, giving a total of $3.25.
\n" ); document.write( "
\n" );