# Math Help - Area under a curve without a function

1. ## Area under a curve without a function

I need to find the area between a curve and a straight line. However, I do not have the formula for the curve. Further the curve is not likely to be a specific function because it was generated by a human's arm movement. I just have 100 x,y coordinate points that make up that curve and the 100 x,y coordinates that make up the line.

I was thinking I could create 99 "boxes" (For example use the first two data points of the line and the first two data points of the curve as the corners of the box) then find the area of each box and add these areas together.
Would this be appropriate? or is there a better approach?