Let H be the number of half-dollars. Then the number of quarters is 4H, according to the condition. Hence, the dimes are the rest (30-H-4H) = (30-5H) coins. The dimes contribute 10*(30-5H) cents towards to the total. The quarters contribute 25*((4H) = 100H cents towards to the total. Finally, the half-dollars contribute 50*H cents towards to the total. Thus the total is 10*(30-5H) + 100H + 50H, and your money equation is 10*(30-5H) + 100H + 50H = 500 cents. (Should I explain that $5 is 500 cents ?) This is the simple equation in one unknown. Let's solve it together. 300 - 50H + 100H + 50H = 500 ====> 100H = 500 - 300 = 200 ====> H == 2. So, there are 2 half-dollar coins, 4*2 = 8 quarters, and the rest 30-2-8 = 20 coins are dimes. Let us CHECK the solution: 20*10 + 8*25 + 50*2 = 500 cents. ! Correct !
Let number of dimes and half-dollars, be D, and H, respectively
Then number of quarters = 4H
We then get: D + H + 4H = 30_____D + 5H = 30 ------- eq (i)
Also, .1D + .5H + .25(4H) = 5
.1D + .5H + H = 5
.1D + 1.5H = 5
D + 15H = 50 --- Multiplying by 10 ------ eq (ii)
10H = 20 ------- Subtracting eq (i) from eq (ii)
H, or number of half-dollars =
Number of quarters:
Number of dimes: