An initial investment amount P, an annual interest rate r, and a time t are given. Find the future value of the investment when interest is compounded (a) annually, (b) monthly, (c) daily, and (d) continuously. Then find (e) the doubling time T for the given interest rate.