Mark M. answered 11/07/19
Retired math prof. Calc 1, 2 and AP Calculus tutoring experience.
Let x = length of a side of the square
Volume of box = V = (height)(length)(width) = x(20 - 2x)(6 - 2x), where 0 < x < 3.
V = x(4x2 - 52x + 120) = 4x3 - 52x2 + 120x
dV/dx = 12x2 - 104x + 120 = 4(3x2 - 26x + 30)
dV/dx = 0 when x = [26 ± √316] / 6 = 7.3 or 1.37
Since 0 < x < 3, x = 1.37
When 0 < x < 1.37, dV/dx > 0. So, V is increasing.
When 1.37 < x < 3, dV/dx < 0. So, V is decreasing
Therefore, the relative and absolute maximum volume occurs when x = height = 1.37"
Dimensions of base: length = 20 - 2x = 17.26" and width = 6 - 2x = 3.26"