document.write( "Question 122344: Mr. Sheehan was cleaning his room when he discovered a bunch of coins under the bed. He found 20 nickles and dimes totaling $2.60. How man of each kind did Mr. Sheehan find?\r
\n" ); document.write( "\n" ); document.write( "How do we set this up? How do we solve for two unknown variables when all we have is a value?
\n" ); document.write( "

Algebra.Com's Answer #89848 by solver91311(24713)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "\r\n" );
document.write( "You have more than just a value.  You have a total number of coins as well.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Let n be the number of nickels, and d be the number of dimes.  First thing\r\n" );
document.write( "we know is that \"n%2Bd=20\".  We'll call this the quantity equation\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "We also know that the value of one nickel is 5 cents, so the value of n\r\n" );
document.write( "nickels must be 5n cents.  Similarly, the value of d dimes is 10d cents.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The total value of the coins is $2.60, which can be expressed as 260 cents, so:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\"5n%2B10d=260\", and we'll call this the value equation.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Looking at the quantity equation, we can solve it for n: \"n=20-d\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Substitute this expression for n in the value equation:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\"cartoon%285%2Ared%28n%29%2B10d=260%2C5%2Ared%28%2820-d%29%29%2B10d=260%29\"\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "And then solve the single equation in the single variable.  The problem here is\r\n" );
document.write( "that you have an impossible situation.  If you only have nickels and dimes\r\n" );
document.write( "totaling 20 coins, the largest amount of money you could have would be $2.00\r\n" );
document.write( "(if you had 20 dimes and zero nickels).  So the given total value of $2.60 is\r\n" );
document.write( "absurd.  I'm thinking that you perhaps made a typing error, either you have 30\r\n" );
document.write( "coins, or their value is only $1.60.\r\n" );
document.write( "\r\n" );
document.write( "Assuming the former:\r\n" );
document.write( "\r\n" );
document.write( "\"5%2A%2830-d%29%2B10d=260\"\r\n" );
document.write( "\"150-5d%2B10d=260\"\r\n" );
document.write( "\"5d=110\"\r\n" );
document.write( "\"d=22\" => \"n=8\"\r\n" );
document.write( "\"22%2B8=30\" and \"2.20%2B0.40=2.60\"\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Assuming the latter:\r\n" );
document.write( "\"5%2A%2820-d%29%2B10d=160\"\r\n" );
document.write( "\"100-5d%2B10d=160\"\r\n" );
document.write( "\"5d=60\"\r\n" );
document.write( "\"d=12\" => \"n=8\"\r\n" );
document.write( "\"12%2B8=20\" and \"1.20%2B0.40=1.60\"\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "
\n" ); document.write( "
\n" );