Compound interest

The interest earned by investing a sum of money (the principal) is compound interest if each successive interest payment is added to the principal for the purpose of calculating the next interest payment.

For example, if the principal earns compound interest at the rate of per period, then after periods the principal plus interest is