MathGroup Archive 2006

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

Search the Archive

Re: NDSolve

  • To: mathgroup at
  • Subject: [mg65715] Re: [mg65684] NDSolve
  • From: "David Park" <djmp at>
  • Date: Sun, 16 Apr 2006 01:45:21 -0400 (EDT)
  • Sender: owner-wri-mathgroup at


ysol = NDSolve[.....]

y[x_] = y[x]/.ysol

David Park
djmp at 

From: Subbu [mailto:subbaraokommuri at]
To: mathgroup at


I have a question regarding usage of solution given by NDSolve function

Suppose We have solved one ODE with NDSolve, it will give the solution
as interpolating function. Suppose I am solving a ODE for solution of y
as a function of x, I will get solution like
{y -> InterpolatingFunction[{{0., 1.}}, <>]}.

Now I can get the values of y at any x using y[x]/.sol/.x->0.5

But Suppose I want to evaluate the y' [x](Derivative of y) how can we
get it that from the solution of NDSolve 

Thank you

  • Prev by Date: Where do I put my own add-on packages?
  • Next by Date: Re: List Operations
  • Previous by thread: NDSolve
  • Next by thread: Re: NDSolve