A small business expects an income stream of $\$300$ per month for a period of $9$ years. The income will be invested at an annual interest rate of $17\%$, compounded continuously. How much interest was earned?
I already have the answer, i.e. $\$2610$ however, I don't know how to get it. I tried using the formula for compounded interest i.e., $$A=Pe^{rt}$$ but doesn't give the same answer. I believe my formula is not right and I don't know which one to use. This is a calculus problem on integration but I don't know how to start.
Answer:
Continously compounded rate $r_c = ln(1+\frac{.017}{12}) = 0.00141566 $
$$I + P = 300(1+e^{r_c*1} + e^{r_c*2} + e^{r_c*3}+\cdots+e^{r_c*107})$$
$$ e^{r_c} = 1.00141667 = a$$
$$I+P = 300(1+a+a^2+a3+\cdots+a^{107}) = \frac{300(a^{108}-1)}{a-1} = \frac{300\times 0.165198812827715}{0.00141667} = 35008.05198585$$
$$P\text{_only} = 300*108 = 32400$$
$$I = 35008-32400 = 2608.05$$