Question 519277
With coin problems you have to keep track of the number of coins and their value.
n = number of nickels
5n = value of the nickels in cents
q = number of quarters
25q = value of the quarters in cents
.
n + q = 187 coins
so
n = 187-q
.
5n + 25q = 2895 cents
.
substitute
.
5(187-q) + 25q = 2895
935 -5q +25q = 2895
20q = 1960
q = 98
.
n = 187-q
n = 89
.
Check their values
5(89) = 445 cents
25(98) = 2450 cents
445+2450 = 2895 cents
Correct.
.
Answer: You have 98 quarters and 89 nickels.
.
Done.