Calculate the future value of an investment or savings account with compound interest, including the effect of regular contributions over time.