Line 15: Line 15:
  
 
<math> Total = \frac{A[(r+1)^{t+1}-(r+1)]}{r} </math>
 
<math> Total = \frac{A[(r+1)^{t+1}-(r+1)]}{r} </math>
 +
 +
---[[User:Gbrizend|Gary Brizendine II]]

Revision as of 09:48, 2 October 2008

First off, this is not part of homework. This equation (if I did it right) is the summation of an investment 'A' that gains interest over period 'p' and time 't' in years. The investment 'A' is added every period. I originally got $ A \sum_{t=0}^{n} \frac{r^t}{p^{t}} dt $, but I wanted to turn it into an integral and pulled out a $ \frac{t}{p} $ so I would have a dt. That led me to the integral below. Does it make sense and does anyone know how to integrate the problem?

Integrate this:

$ A \int_{0}^{n} \frac{r^t}{t*p^{t-1}} dt $


I searched how to do it on matlab, but could not find it. Then, I found this website on Wolfram. It integrates it using mathematica. Here is what it got:

p*Ei(x(log(r)-log(p)))

Note: $ Ei(x) = \int_{-\infty}^{x} \frac{e^t}{t} dt $

I don't know how to use this integral, but I did some manipulation and got this:

$ Total = \frac{A[(r+1)^{t+1}-(r+1)]}{r} $

---Gary Brizendine II

Alumni Liaison

BSEE 2004, current Ph.D. student researching signal and image processing.

Landis Huffman