The definition is pretty simple:

So, we only have to sum the expressions:

There will be 38 grams remaining.
The equation would be of the form
y = a(1+r)ˣ, where a is the initial value, r is the rate as a decimal number, and x is the amount of time. Using our values from the problem, we have:
y = 670(1-0.273)^9 = 670(0.727)^9 = 38
44 nickels because you just add 5 intill you get 220