SOLUTION: A person has quarters, dimes, nickels,and pennies with a total value of $3.86. The number of nickels is twice the number of quarters. The number of quarters is two less than the n

Algebra ->  Equations -> SOLUTION: A person has quarters, dimes, nickels,and pennies with a total value of $3.86. The number of nickels is twice the number of quarters. The number of quarters is two less than the n      Log On


   



Question 244834: A person has quarters, dimes, nickels,and pennies with a total value of $3.86. The number of nickels is twice the number of quarters. The number of quarters is two less than the number of dimes. There are 40 coins in all. Write and solve an equation to find the number of each coin. I have figured out that there are eight quarters, sixteen nickels, ten dimes, and six pennies. I can not figure out how to write an equation for this problem. Can you help me?
Found 2 solutions by jim_thompson5910, richwmiller:
Answer by jim_thompson5910(35256) About Me  (Show Source):
You can put this solution on YOUR website!
Let

p = # of pennies,
n = # of nickels
d = # of dimes
q = # of quarters


Since "There are 40 coins in all", this means that p%2Bn%2Bd%2Bq=40 (ie add up the individual coin counts to get the total). This is your first equation.

Because "The number of nickels is twice the number of quarters", we know that n=2q

Since "The number of quarters is two less than the number of dimes", we also know that q=d-2

Finally, because "A person has quarters, dimes, nickels,and pennies with a total value of $3.86", we get the equation 0.01p%2B0.05n%2B0.10d%2B0.25q=3.86

Remember that a penny is $0.01, a nickel is $0.05, a dime is $0.10, and a quarter is $0.25. If you multiply those individual values by their counts (the defined variables) and add them all up, you'll get the total coin value $3.86


So the fourth and final equation is 0.01p%2B0.05n%2B0.10d%2B0.25q=3.86


At the end of the translations, you get the four equations


system%28p%2Bn%2Bd%2Bq=40%2Cn=2q%2Cq=d-2%2C0.01p%2B0.05n%2B0.10d%2B0.25q=3.86%29


From here, all you need to do is solve the system. There are plenty of options available, but I recommend using a calculator to set up a matrix to solve this problem.

Answer by richwmiller(17219) About Me  (Show Source):
You can put this solution on YOUR website!
we actually need for equations
n=2q
q=d-2
n=2(d-2)=2d-4
25q+10d+5n+1p=386
25(d-2)+10d+5(2d-4)+p=386
25d+10d+10d-50-20+p386
45d-70+p=386
p+q+d+n=40
p+(d-2)+d+2(d-2)=40
p+d-2+2d-4=40
p+4d-6=40
p+4d=46
p=46-4d
45d-70+p=386
45d+p=456
45d+46-4d=456
41d=410
d=10
q=d-2=8
n=16
p=40-10-16-8
p=40-34=6