A) If 3000 dollars is invested in a bank account at an interest rate of 9 per cent per year, find the amount in the bank after 15 years if interest is compounded annually (do not include).
B) Find the amount in the bank after 15 years if interest is compounded quarterly.
C) Find the amount in the bank after 15 years if interest is compounded monthly.
D) Finally, find the amount in the bank after 15 years if interest is compounded continuously.