Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

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? "


  • Prev by Date: how to convert a matrix to a graphy
  • Next by Date: Re: LinkInterrupt in C
  • Previous by thread: Interpolating function
  • Next by thread: Re: Interpolating function