Question 1165757

Mike has 19 coins in his pocket worth a total of $2.35.  He only has nickels, dimes and quarters.  There are 2 more dimes than nickels.  How many of each coin type does Mike have?
<pre>Let number of nickels be N
Then number of dimes = N + 2, and number of quarters = 19 - (N + N + 2) = 19 - 2N - 2 = 17 - 2N
We then get: .05N + .1(N + 2) + .25(17 - 2N) = 2.35
.05N + .1N + .2 + 4.25 - .5N = 2.35
.05N + .1N - .5N = 2.35 - 4.45
- .35N = - 2.1
Number of nickels, or {{{highlight_green(matrix(1,5, N, "=", (- 2.1)/(- .35), "=", 6))}}}
You should now be able to find the number of dimes, and quarters!