_N3WTON_
- 350
- 3
Homework Statement
Solve the annuity problem:
\frac{dS}{dt} = rS + d
S(0) = S_0
Homework Equations
Integrating factor method equation
Future value of an annuity equation (this should be the final answer):
S(t) = S_0e^{rt} + \frac{d}{r}(e^{rt} - 1)
The Attempt at a Solution
Ok, I am getting quite close to doing this derivation correctly. However, I keep ending up with a negative that should not be there.
First, I set:
p(x) = -r
Then:
u(x) = e^{-rt}
This means that I need to take the integral of:
\frac{d}{dt} (e^{-rt}S(t)) = de^{-rt}
After taking the integral of both sides I end up with:
(e^{-rt} * S(t)) = - \frac{d}{r} e^{-rt} + C
Therefore:
S(t) = - \frac{d}{r} + Ce^{rt}
At this point I am not sure what to do because I believe that the negative symbol should not be there. If somebody could point out where my mistake is I would greatly appreciate it.
Last edited: