I'll give a concrete example (couldn't find a similar question):
- Let's say I have an amount of money M at time t = 0 (first month).
- Every month, I get a given amount (let's say constant) of R
- On my total amount of money for each month, I get a return of P percent per month.
What is the formula to know the final amount of money after t months?