MathGroup Archive 2002

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

Search the Archive

Re: Extracting Terminal Value

  • To: mathgroup at
  • Subject: [mg35783] Re: Extracting Terminal Value
  • From: Jens-Peer Kuska <kuska at>
  • Date: Wed, 31 Jul 2002 01:33:17 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <ai5tr6$bqi$>
  • Reply-to: kuska at
  • Sender: owner-wri-mathgroup at


findTimeRange[expr_] := 
      Cases[expr, InterpolatingFunction[___][_], Infinity] /. 
        InterpolatingFunction[a_, b__][_] :> First[a]]]

ff = NDSolve[{y''[x] == -y[x], y[0] == 1, y'[0] == 0}, y[x], {x, 0,

and the endpoint is:



"W. H. Harker" wrote:
> I am using StoppingTest in NDSolve, as a consequence the
> terminal value of the independent variable is unknown prior
> to NDSolve finishing. How does one extract this number from
> the Interpolation object?

  • Prev by Date: Re: Extracting Terminal Value
  • Next by Date: realtime plotting of points
  • Previous by thread: Re: Extracting Terminal Value
  • Next by thread: random integer weirdness