Let the side length of each square cut out be x inches. After cutting out the squares and folding the cardboard, the dimensions of the resulting box will be:
Length: 36 - 2x inches
Width: 36 - 2x inches
Height: x inches
The volume of the box, V, can be calculated as:
V = length × width × height
V = (36 - 2x)(36 - 2x)x
To find the maximum volume, we need to find the maximum value of this function. We can do this by taking the derivative of the function with respect to x and setting it to zero:
dV/dx = 0
First, let's expand the volume function:
V = 4x^3 - 144x^2 + 1296x
Now, let's find the derivative:
dV/dx = 12x^2 - 288x + 1296
Setting the derivative to zero:
0 = 12x^2 - 288x + 1296
Divide by 12:
0 = x^2 - 24x + 108
Now, we can use the quadratic formula to solve for x:
x = (-b ± √(b^2 - 4ac)) / 2a
In this case, a = 1, b = -24, and c = 108:
x = (24 ± √((-24)^2 - 4(1)(108))) / 2(1)
x = (24 ± √(576 - 432)) / 2
x = (24 ± √144) / 2
x = (24 ± 12) / 2
There are two possible solutions for x:
x = (24 + 12) / 2 = 36 / 2 = 18
x = (24 - 12) / 2 = 12 / 2 = 6
However, if x = 18, the length and width of the box would be 0, which is not possible. So, we discard this solution and take x = 6 inches.
Now, let's find the dimensions of the box that yields the maximum volume:
Length: 36 - 2x = 36 - 2(6) = 36 - 12 = 24 inches
Width: 36 - 2x = 36 - 2(6) = 36 - 12 = 24 inches
Height: x = 6 inches
So, the dimensions of the box that yields the maximum volume are 24 inches × 24 inches × 6 inches.