document.write( "Question 143228: I need some help with this word problem, setting it up to solve. Thanks.\r
\n" ); document.write( "\n" ); document.write( "Joe has a collection of nickels and dimes that is worth $5.65. If the number of dimes were doubled and the number of nickels were increased by 8, the value of the coins would be $10.45. How many dimes does he have?
\n" ); document.write( "

Algebra.Com's Answer #104219 by solver91311(24713)\"\" \"About 
You can put this solution on YOUR website!
Number of dimes: \"d\"
\n" ); document.write( "Number of nickels: \"n\"
\n" ); document.write( "Value (in cents) of \"d\" dimes: \"10d\"
\n" ); document.write( "Value (in cents) of \"n\" nickels: \"5n\"
\n" ); document.write( "Value (in cents) of current collection: \"565\"
\n" ); document.write( "Number of dimes in the 'what if' collection: \"2d\"
\n" ); document.write( "Number of nickels in the 'what if' collection: \"n+%2B+8\"
\n" ); document.write( "Value (in cents) of the dimes in the 'what if' collection: \"10%282d%29\"
\n" ); document.write( "Value (in cents) of the nickels in the 'what if' collection: \"5%28n%2B8%29\"
\n" ); document.write( "Value (in cents) of 'what if' collection: \"1045\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"10d%2B5n=565\" and
\n" ); document.write( "\"10%282d%29%2B5%28n%2B8%29=1045\" => \"20d%2B5n%2B40=1045\" => \"20d%2B5n=1005\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now you have 2 equations in 2 variables. Solve for d.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I changed everything from dollars/cents to cents just because I prefer integer coefficients as opposed to decimal fraction coefficients.
\n" ); document.write( "
\n" );