Calculate area between 2 curves when you know only their data points

51 Views Asked by At

How can I calculate the area between 2 curves when I only have their data points and the points are united with lines ( linear)

1

There are 1 best solutions below

2
On

You find the numerical approximation to your integral.

For each $x$, find $|y_1 -y_2|$ and use Trapezoidal or Simpson rule to approximate the area.