The compound interest formula is given by

where A is the resulting amount, P is the amount of principal, r is the annual interest rate, n is the number of compounding periods per year and t is the time in years.
In our case, r=0.07, P=$2000 and t=4 years. The number of compounding periods n depends on the given case:
Part A. Annually.
In this case, n= 1 . Then, the resulting amount A is

which gives

Part B. Semuannually.
In this case, n=2 (twice per year). Then, the resulting amount A is

Part C. Quarterly.
In this case, n=4 (4 times per year). So, the resulting amount A is

Part D. Daily.
In this case, n= 360 (360 times per year). Then, the resulting amount A is

Part E. Continuosly.
In this case, our first formula becomes

then, by substituting our given values, we have
