An artificial lake has the shape illustrated below , with adjacent measurements 20 feet apart. Use suitable numerical method to estimate the surface area of the lake.
I know how to solve this problem we will just assign the adjacent measurements to a parameter $x_i$ and the corresponding lake width to $f(x_i)$ and $x_o=0$ and $f(x_o)=0$ and $x_1=20$ and $f(x_1)=30$ and so on until $f(x_7)$ as the lake is divided into 7 sections, Then we use the trapezoidal as the number of sections is odd.
Now what I don't really understand is why the trapezoidal rule can be applied to this problem and when it isn't viable?