Differential Equation Modeling Question

jofree87
Messages
37
Reaction score
0
The differential equation dS/dt = kS + D represents the rate of change of savings when S = savings balance, k = interest rate, and D = deposit.

Ive figured out the solution for the differential equation to be, S = cekt - D/k

If somebody invest 20,000 each year for the next 40 years with continuous compounded growth of 2%, the final value should be about 1,237,837.

I don't see how the equation S = cekt - D/k works to 1,237,837.

I plug c = 20,000, k = .02, t = 40, and D = 20,000 and I get S = -955489

What am I doing wrong?
 
Physics news on Phys.org
'c' isn't 20000. The 20000 is D, which is your rate of savings. You have to work out what 'c' is by setting S(0) to be what your initial savings is. It's a boundary value problem.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top