human
I'm a little confused about how to do the math on this problem. Can you help?
assistant
Sure! The formula for calculating compound interest is A = P(1 + r/n)^nt, where A is the final amount, P is the principal amount, r is the annual interest rate, n is the number of periods in a year and t is the number of years.