Given a solid with square cross sections perpendicular to the -axis and with their center on the -axis. If the cross section square at has side length , compute the volume of the solid for .
The area of the cross sections is given by
So, the volume of the solid for is given by