ANSWER;
Length = 10 inches
Width = 5 inches
Height = 10 inches
STEP-BY-STEP EXPLANATION;
If the length, width, and height are L, W, and H, then:
L = 2W
500 = LWH
If the cost is C then;
C = 0.50LW + 0.25 (LW + 2LH + 2WH)
C = 0.50LW + 0.25LW + 0.50LH + 0.50WH
C = 0.75LW + 0.50LH + 0.50WH
We need the cost in terms of a single variable.
Substitute the first equation into the second equation to get H in terms of W;
500 = (2W) WH
500 = 2W2H
250 = W2H
H = 250/W2
Now substitute the equations for L and H into the cost equation;
C = 0.75(2W)W + 0.50(2W)(250/W2) + 0.50W(250/W2)
C = 1.5W2 + 250/W + 125//W
C = 1.5W2 + 375/W
Take derivative and set to 0;
dC/dW = 3W - 375/W2
0 = 3W - 375/W2
3W = 375/W2
3W3 = 375
W3 = 125
W = 5
Therefore;
L = 10
Substitute to get H;
500 = LWH
500 = 10 * 5 * H
500 = 50H
H = 10