Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'how to tell the domain of an interplated solution' topicStudent Support Forum > General > Archives > "how to tell the domain of an interplated solution"

Help | Reply To Topic
Author Comment/Response
04/28/09 02:28am

I have a pair of differential equations that describes a 2 dimensional problem of one object "chasing" another. Distance is used in the denominator of the equation. When I use NDSolve to obtain a solution, the interpolated solution that results will be a function from t = 0 to a tmax when the distance between the two objects become zero, and the algorithm has to end. I end up with an output that states something like Ob -> InterpolatingFunction[{{0, tmax}} <>], where tmax is a number.

For my purposes, I just want the number tmax. Is there a functionality that actually gives the domain of the interpolating function? What can I use in mathematica that does it?

URL: ,
Help | Reply To Topic