Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compute an integral from data points

Status
Not open for further replies.

jcmbl

New member
Oct 22, 2004
31
0
0
GB
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
 
Replies continue below

Recommended for you

I assumed that the points on the two curves might not line up. If they dno't line up, you'd have to do interpolation first.

If you run the numerical integrals separately, you can do that in Excel.

TTFN



 
sorry guys for the stupid question. I did some drawings to help me understand the area I needed, but it was proved I was doing something silly (I was getting some open segments of the curves which I couldnt compute). Of course the area is the difference between the 2 curves, although I'm not newbie at all to integrals, but it just slipped.

Cheers
 
Status
Not open for further replies.
Back
Top