I have an area I want to calculate. It's situated between a line of ~750 data Points and a straight line based on two data Points. It's illustrated by the middle graph in the attached image. (It is based on the upper parts of the first and third graph)
I have managed to calculate the area of the first graph in the Picture, by using trapz. The line is based on ~2000 data Points.
Its easy to find the function of the straight line, but I'd rather not fit the other data points into a function.
Is it possible to somehow use both trapz and integral to find this area?
Best Answer