Ali, my guess is that you’d like to know HOW to do it, so here is a wordier (and more accurate) demonstration.
First, always give labels for the quantities:
Let x be the number of nickels
Let y be the number of dimes
Let z be the number of wuarters
Then translate the other statements into math.
First, translate the total value of the coins,
recognizing that every nickels is worth 5 pennies, each fine is worth 10, and each quarter 25.
(a) 5x + 10y + 25 z = 815
Next translate the number of coins
(b) x + y + z = 47
Finally, translate the other sentence
(c) x + y = z - 3
(Notice Sam made a typo here; it will affect the outcome)
Now an algebra 2 student already knows how to solve three linear equations in three unknowns, and you may already know, too.
But for the early algebra student, I’ll continue the solution.
First, take equation (c) and move the z to the other side by subtracting z from both sides.
(d) x + y - z = -3
Now add (b) and (d), which gets rid of the z.
(e) 2x + 2y = 44
simplify by dividing by 2
(f) x + y = 22
Now discover z by subtracting (f) from (b)
(g) z = 25
Now let’s reduce the information in (a) by plugging in this value for z.
(h) 5x + 10y + 25* 25= 815
Collect terms and subtract
(I) 5x + 10y = 190
At this point we have two equations in two unknowns,
(f) and (I).
To solve these equations, solve (f) for x.
(j) x = 22 - y
and plug that into (I)
(k) 5(22-y) + 10y = 190
Multiply it all out
(L) 110-5y + 10y = 190
collect terms and solve for y
(m) 5y = 80
(n) y = 16
Finally, plug y and z into (c) to discover x
(p) x + 16 = 25 - 3
(q) x = 6
So there are 6 nickels, 16 dimes, and 25 quarters. Verify by plugging into (a)
6*5 + 16*10 + 25*25 ?=? 815
30 + 160 + 625 = 815 = 815
Edward A.
Not a trick question. Your first paragraph subtracts 3 from the right hand side instead of adding, so you got 22 quarters instead of the correct 25.01/16/20