Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Integrating an interpolating function' topicStudent Support Forum > General > Archives > "Integrating an interpolating function"

Next Comment >Help | Reply To Topic
Author Comment/Response
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}]



I dont get an error, but mathematica doesnt seem to actually do anything

Any ideas would be much appreciated


URL: ,

Subject (listing for 'Integrating an interpolating function')
Author Date Posted
Integrating an interpolating function Paul 04/21/05 09:51am
Re: Integrating an interpolating function Alek 04/28/05 12:49pm
Next Comment >Help | Reply To Topic