Cups made from a square sheet of paper

We study the problem of turning a square sheet of paper into a cup of maximal volume. When the cup has the shape of a rectangular parallelepiped, this problem is an easy exercise of elementary calculus. When the cup has the shape of a square frustum, however, this problem becomes difficult to solve.