| Author |
Comment/Response |
Paul
|
04/21/05 09:51am
I'm trying to use NDSolve[...] to numerically solve a differential equation getting an interpolating function which i then need to integrate.
I thought this should be possible using either NIntegrate[], or NIntegrateInterpolatingFunction[].
When both of these are tried however i cant seem to get a numerical answer out, just seem to get back the line that i typed in.
I'm wondering what i might be doing wrong, an example of the sort of thing im trying to do is
solution = NDSolve[...] (this bit works fine)
NIntegrate[solution, {x,1,2}]
or
NIntegrateInterpolatingFunction[solution,{x,1,2}]
I dont get an error, but mathematica doesnt seem to actually do anything
Any ideas would be much appreciated
Paul
URL: , |
|