I needed to find the volume of what Wikipedia calls a truncated prism, which is a prism (with triangle base) that is intersected with a halfspace such that the boundary of the halfspace intersects the three vertical edges of the prism at heights $h_1, h_2, h_3$.
I was able to find the formula $$ V=A\frac{h_1+h_2+h_3}{3}, $$ (where $A$ is the area of the triangle base) online, but without proof.
I was also able to prove this formula myself, but with a really nasty proof. (I integrated the area of the horizontal cross-sections; after passing the first intersection with the hyperplane at height $h_1$ these cross-sections have the form of the base triangle minus a quadratically increasing triangle, then after crossing the first intersection at height $h_2$ they have the form of a quadratically shrinking triangle)
Do you know of an elegant proof of the volume formula?
PS: Wikipedia cites 'William F. Kern, James R Bland,Solid Mensuration with proofs, 1938, p.81' for the name truncated prism, but I cannot find this book.