# Interest Formula

## Homework Statement

Using the following savings formula, where d is a uniform deposit, i= (interest rate)/(# times compounded per year), n is the total times compounded.

As I understand it, this formula will tell me how much I will have after depositing a certain amount of money per compounding period given an interest rate and time.

How can I take into account the situation where I start off by depositing a large sum like \$5000, and then make uniform deposit during every compounding period?

## Homework Equations

I am using the savings formula,

$$A=d(\frac{(1+i)^n-1}{i})$$