Question: Figure shows a solid with both rectangular and triangular cross sections.
(a) Slice the solid parallel to the triangular faces. Sketch one slice and calculate its volume in terms of x, the distance of the slice from one end. Then write and evaluate an integral giving the volume of the solid.
(b) Repeat part (a) for horizontal slices. Instead of x, use h, the distance of a slice from the top.