Compound interest

M = P(1 + i)^n; includes principal, interest, and optional contribution.

Practical Application: Simulate growth of investments and reinvestments.

Source of the formula: Financial Mathematics