Compute an integral from data points
Compute an integral from data points
(OP)
Hi guys,
I have 2 weird sets of points to define 2 curves. I need to compute the area between these two. Is there any straightforward way to do it? The position of the curves is changing with respect to X axis, so I'd need a general methodology to do my task, not just for a specific set of points.
I'd appreciate any help.
Cheers
I have 2 weird sets of points to define 2 curves. I need to compute the area between these two. Is there any straightforward way to do it? The position of the curves is changing with respect to X axis, so I'd need a general methodology to do my task, not just for a specific set of points.
I'd appreciate any help.
Cheers





RE: Compute an integral from data points
Assuming, of course, you know what the interval is to start with.
TTFN
RE: Compute an integral from data points
Or why not take the integral of the differences between the two curves?
Cheers
Greg Locock
Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
RE: Compute an integral from data points
If you run the numerical integrals separately, you can do that in Excel.
TTFN
RE: Compute an integral from data points
Cheers
Greg Locock
Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
RE: Compute an integral from data points
Cheers