The value of a penny (in dollars) = 0.01
The value of a nickel (in dollars) = 0.05
Let the number of pennies Bob has be "p", and
Let the number of nickels Bob has be "n".
There are 3 times as many pennies as nickels. So we can write:
p = 3n
The total worth of all of the coins is 416, so we can write:
0.01p + 0.05n = 416
We have to solve these 2 equations for n and p. Putting first equation in 2nd, we get:
Now, we solve for n:
Also, p = 3n
p = 3(5200)
p = 15,600
Hence,
There are
15,600 penny and 5200 nickels