For the frustrum on the interval we have and .
Now the length of the ith line segment is given by . This can be derived and I can do it if you like. So, we have
. But if delta x is small, we can say that for some
Summing and taking the limit we get