Integration [message #83200] |
Wed, 20 February 2013 09:00  |
fd_luni
Messages: 66 Registered: January 2013
|
Member |
|
|
Hi all
I have a question about integration.
I used the DERIV function in order to differentiate a function. Now I want to integrate a function but don't know which function to this work. I want a function that do the same work as the DERIV function but in the "opposite direction". E.g. Assume Y=2t, the integral of DERIV(t,Y) equals Y=2t (which is obvious I think).
Cheers
M
|
|
|
Re: Integration [message #83344 is a reply to message #83200] |
Wed, 20 February 2013 10:20  |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
On Wednesday, February 20, 2013 12:00:32 PM UTC-5, fd_...@mail.com wrote:
> Hi all
>
>
>
> I have a question about integration.
>
>
>
> I used the DERIV function in order to differentiate a function. Now I want to integrate a function but don't know which function to this work. I want a function that do the same work as the DERIV function but in the "opposite direction". E.g. Assume Y=2t, the integral of DERIV(t,Y) equals Y=2t (which is obvious I think).
DERIV works on tabulated data. The inverse of DERIV for tabulated data is INT_TABULATED(). This may or may not be a good approximation to the integral depending on the shape of the function.
If you have a Y as a function of X, then you can use more advanced integrators like QROMB or QSIMP, or my own QPINT1D.
Craig Markwardt
|
|
|