document.write( "Question 495533: I have $9.45 in quarters and dimes in my pocket. The number of dimes is 18 less than twice the number of quarters. How many of each do I have in my pocket?
\n" ); document.write( "I tried but i keep getting stuck. This is what I tried doing:
\n" ); document.write( "dimes=18-2(quarters)
\n" ); document.write( "#of dimes + # of quarters=$9.45
\n" ); document.write( "(18-2(quarters)) + # of quarters= $9.45
\n" ); document.write( "18-3(quarters)=$9.45
\n" ); document.write( "-3(quarters)= -8.55
\n" ); document.write( "quarters=2.85
\n" ); document.write( "thats not possible
\n" ); document.write( "

Algebra.Com's Answer #336399 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
Write an equation for each statment:
\n" ); document.write( ":
\n" ); document.write( "I have $9.45 in quarters and dimes in my pocket.
\n" ); document.write( ".10d + .25q = 9.45
\n" ); document.write( ":
\n" ); document.write( "The number of dimes is 18 less than twice the number of quarters.
\n" ); document.write( "d = 2q - 18
\n" ); document.write( ":
\n" ); document.write( "In the 1st equation replace d with (2q-18)
\n" ); document.write( ".10(2q-18) + .25q = 9.45
\n" ); document.write( ".2q - 1.8 + .25q = 9.45
\n" ); document.write( ".2q + .25q = 9.45 + 1.80
\n" ); document.write( ".45q = 11.25
\n" ); document.write( "q = \"11.25%2F.45\"
\n" ); document.write( "q = 25 quarters
\n" ); document.write( ":
\n" ); document.write( "I know you can find the number of dimes now, check the total in the 1st equation\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " How many of each do I have in my pocket?
\n" ); document.write( "
\n" );