But this solution is not enormously useful when we turn to the problem of how much soda will fit in the resulting box. A twelve-ounce can holds 355 ml, or 355 cubic centimeters. An 8.5 by 11 inch piece of paper is approximately 21.5 by 28 cm.
Input :=
MetricVol[h_] = h (21.5 - 2h) (28 - 2h);
Input :=
sol = Solve[MetricVol'[h]==0,h]
Output =
{{h -> 4.01965}, {h -> 12.4803}}
Input :=
ht = sol[[1,1,2]];
Input :=
MetricVol[ht]
Output =
1080.02
Input :=
MetricVol[ht]/355
Output =
3.04231
Three cans and then some!