[Date Index]
[Thread Index]
[Author Index]
Re: NDSolve curve - obtain single value from curve at t:=d
*To*: mathgroup at smc.vnet.net
*Subject*: [mg127735] Re: NDSolve curve - obtain single value from curve at t:=d
*From*: design <design at rcn.com>
*Date*: Fri, 17 Aug 2012 03:46:24 -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
*References*: <k0d1ta$m0c$1@smc.vnet.net> <k0fjee$q8q$1@smc.vnet.net>
Peter
Thank you. I'm fascinated with the approach but still trying to integrate it into the app.
Joe
On Wednesday, August 15, 2012 3:34:38 AM UTC-4, Peter Pein wrote:
> Am 14.08.2012 10:23, schrieb design:
>
> > 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!!
>
> >
>
> Hi,
>
>
>
> DSolve[{y'[t] == fundRate/100*y[t] - annuityAmt,
>
> y[age] == startValue}, y[t], t]
>
>
>
> --> {{y[t] -> (1/fundRate)
>
> E^(-((age fundRate)/
>
> 100)) (100 annuityAmt E^((age fundRate)/100) -
>
> 100 annuityAmt E^((fundRate t)/100) +
>
> E^((fundRate t)/100) fundRate startValue)}}
>
>
>
> doesn't help?
>
>
>
> In simple cases, try the exact solution. Even if the calculation needs a
>
> while (not for this differential equation), it's worth it.
>
>
>
> Peter
On Wednesday, August 15, 2012 3:34:38 AM UTC-4, Peter Pein wrote:
> Am 14.08.2012 10:23, schrieb design:
>
> > 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!!
>
> >
>
> Hi,
>
>
>
> DSolve[{y'[t] == fundRate/100*y[t] - annuityAmt,
>
> y[age] == startValue}, y[t], t]
>
>
>
> --> {{y[t] -> (1/fundRate)
>
> E^(-((age fundRate)/
>
> 100)) (100 annuityAmt E^((age fundRate)/100) -
>
> 100 annuityAmt E^((fundRate t)/100) +
>
> E^((fundRate t)/100) fundRate startValue)}}
>
>
>
> doesn't help?
>
>
>
> In simple cases, try the exact solution. Even if the calculation needs a
>
> while (not for this differential equation), it's worth it.
>
>
>
> Peter
On Wednesday, August 15, 2012 3:34:38 AM UTC-4, Peter Pein wrote:
> Am 14.08.2012 10:23, schrieb design:
>
> > 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!!
>
> >
>
> Hi,
>
>
>
> DSolve[{y'[t] == fundRate/100*y[t] - annuityAmt,
>
> y[age] == startValue}, y[t], t]
>
>
>
> --> {{y[t] -> (1/fundRate)
>
> E^(-((age fundRate)/
>
> 100)) (100 annuityAmt E^((age fundRate)/100) -
>
> 100 annuityAmt E^((fundRate t)/100) +
>
> E^((fundRate t)/100) fundRate startValue)}}
>
>
>
> doesn't help?
>
>
>
> In simple cases, try the exact solution. Even if the calculation needs a
>
> while (not for this differential equation), it's worth it.
>
>
>
> Peter
Prev by Date:
**Re: Importing xlsx spreadsheet data into Mathematica,**
Next by Date:
**Re: Importing xlsx spreadsheet data into Mathematica, version 7.0**
Previous by thread:
** Re: NDSolve curve - obtain single value from curve at t:=d**
Next by thread:
**How to draw several contours for one function, while only one contour**
| |