NDSolve curve - obtain single value from curve at t:=d
- To: mathgroup at smc.vnet.net
- Subject: [mg127673] NDSolve curve - obtain single value from curve at t:=d
- From: design <design at rcn.com>
- Date: Tue, 14 Aug 2012 04:23:22 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
Customized annuity applet; I need to find the value of sol1 at t = d; d, age, remaining life, fundrate, (and others) are all sliders; Overall apples is working well d = age + remainingLife; eqn1 = y'[t] == fundRate/100*y[t] - annuityAmt;=E2=80=A8sol1 = y[t]/. NDSolve[{eqn1, y[age] == startValue}, y[t], {t, age, 110}]; I have tried the sol1 iteration with {d,d,110} and many other approaches to no avail. Suggestions appreciated!!