To answer this problem, we just have to use the compound interest formula, which is:
n represents the amount of times the interest is compounded for every unit t. For a monthly compound, n = 12, for a daily compound, n = 365. r represents the rate(written as a decimal), P represents the principal, and t the amount of time.
Using the given values, we have: