A box contains $6.15 in nickels , dimes, and quarters. There are 36 coins in all, and the sum of the numbers of nickels and dimes
is 2 less than the number of quarters. How many coins of each kind are there?
Let the number of nickels, dimes, and quarters be N, D, and Q, respectively
Then we get: .05N + .1D + .25Q = 6.15 ------ eq (i)
Also, N + D + Q = 36 ------- eq (ii)
In addition, N + D = Q - 2______N + D - Q = - 2 ------ eq (iii)
2Q = 38 ------ Subtracting eq (iii) from eq (ii)
.05N + .1D + .25(19) = 6.15 ------ Substituting 19 for Q in eq (i)
.05N + .1D + 4.75 = 6.15
.05N + .1D = 1.4 ------- eq (iv)
N + D = 19 - 2 ------- Substituting 19 for Q in eq (iii)
N + D = 17 ------ eq (v)
- .1N - .1D = - 1.7 ------- Multiplying eq (v) by - .1 ------ eq (vi)
- .05N = - .3 ------ Adding eqs (vi) & (iv)
6 + D = 17 ------ Substituting 6 for N in eq (v)