Re: Interpolating function
- To: mathgroup at smc.vnet.net
- Subject: [mg49165] Re: Interpolating function
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 6 Jul 2004 03:33:24 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <ccb6cc$eq4$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, ODE = 0 == y''[t] + (1 - y[t])/y'[t]; sol = NDSolve[{ODE, y[1] == 1, y'[1] == 1}, y, {t, -2, 3}]; Plot[Evaluate[{y[t], y'[t], y''[t]} /. sol], {t, -2, 3}]; is this "direct access" or that do you mean. Regards Jens "G.L.Narasimham" wrote: > > ODE=0==y''[t]+(1-y[t])/y'[t]; > NDSolve[{ODE,y[1]==1,y'[1]==1},y,{t,-2,3}]; > y2[u_] = y[u] /. First[%]; > yd = Dt[y2[t],{t,1}]; ydd = Dt[y2[t],{t,2}]; > Plot[ {y2[t],y3[t],yd,ydd},{t, -2, 3 }]; > " Is it not possible to directly access > y'[t]and y''[t] plots without Dt? "