document.write( "Question 438675: Please help me solve this equation:
\n" ); document.write( "Betty has $8.60 in nickels, dimes, and quarters. She has 6 fewer quarters than nickels and 3 more dimes than twice the number of nickels. How many of each coin does she have?
\n" ); document.write( "

Algebra.Com's Answer #303289 by oberobic(2304)\"\" \"About 
You can put this solution on YOUR website!
With coin problems you have to keep track of the counts and the values of the coins.
\n" ); document.write( "n = number of nickels
\n" ); document.write( "d = number of dimes
\n" ); document.write( "q = number of quarters
\n" ); document.write( "5n = value of the nickels in cents
\n" ); document.write( "10d = value of the dimes in cents
\n" ); document.write( "25q = value of the quarters in cents
\n" ); document.write( "Note that problem setups that have dollars and cents have to be converted to cents.
\n" ); document.write( ".
\n" ); document.write( "\"Betty has $8.60\" is a value statement.
\n" ); document.write( "5n + 10d + 25q = 860 cents
\n" ); document.write( ".
\n" ); document.write( "She has \"6 fewer quarters than nickels\"
\n" ); document.write( "q = n-6
\n" ); document.write( ".
\n" ); document.write( "\"3 more dimes than twice the number of nickels\"
\n" ); document.write( "d = 2n + 3
\n" ); document.write( ".
\n" ); document.write( "Now we can look back at the value equation to see what we can substitute.
\n" ); document.write( ".
\n" ); document.write( "5n + 10d + 25q = 860
\n" ); document.write( ".
\n" ); document.write( "Substitute q=n-6 and d= 2n+3, which would make the equation entirely in terms of n.
\n" ); document.write( ".
\n" ); document.write( "5n + 10(2n+3) + 25(n-6) = 860
\n" ); document.write( ".
\n" ); document.write( "5n + 20n + 30 + 25n - 150 = 860
\n" ); document.write( ".
\n" ); document.write( "Collect like terms
\n" ); document.write( "50n - 120 = 860
\n" ); document.write( ".
\n" ); document.write( "Add 120 to both sides
\n" ); document.write( "50n = 980
\n" ); document.write( "Divide both sides by 50
\n" ); document.write( "n = 19.8
\n" ); document.write( ".
\n" ); document.write( "This presents us with an unsolvable problem because you cannot have a fractional number of nickels.
\n" ); document.write( ".
\n" ); document.write( "That having been said, if she were to have had $8.80 instead of $8.60, then we might be able to solve it.
\n" ); document.write( "50n - 120 = 880
\n" ); document.write( "50n = 1000
\n" ); document.write( "n = 20
\n" ); document.write( "d = 2n+3
\n" ); document.write( "d = 43
\n" ); document.write( "q = n-6
\n" ); document.write( "q = 14
\n" ); document.write( "Checking to see if these total $8.80
\n" ); document.write( "5n=5(20) = $1
\n" ); document.write( "10d = 10(43) = $4.30
\n" ); document.write( "25q = 25(14) = $3.50
\n" ); document.write( "$1 + $4.30 + $3.50 = $8.80
\n" ); document.write( "True.
\n" ); document.write( ".
\n" ); document.write( "But if $8.60 is in the presented problem, then it is unsolvable with \"real\" coins.
\n" ); document.write( ".
\n" ); document.write( "Done.
\n" ); document.write( "
\n" );