To minimize the material usage we have to have the volume requested with the minimum surface area.
The volume is:
![171.5 =xyz](https://tex.z-dn.net/?f=171.5%20%3Dxyz)
And the surface is:
![S=xy+2xz+2yz](https://tex.z-dn.net/?f=S%3Dxy%2B2xz%2B2yz)
From the first equation we get:
![z=\frac{171.5}{xy} ; k=171.5\\ z=\frac{k}{xy}\\](https://tex.z-dn.net/?f=z%3D%5Cfrac%7B171.5%7D%7Bxy%7D%20%3B%20k%3D171.5%5C%5C%20z%3D%5Cfrac%7Bk%7D%7Bxy%7D%5C%5C)
I will use k instead of a number just for the conveince.
We plug this into the second equation and we get:
![S=xy+2k\frac{1}{x}+2k\frac{1}{y}](https://tex.z-dn.net/?f=S%3Dxy%2B2k%5Cfrac%7B1%7D%7Bx%7D%2B2k%5Cfrac%7B1%7D%7By%7D)
To find the minimum of this function we have to find the zeros of its first derivative.
Sx will denote the first derivative with respect to x and Sy will denote the first derivative with respect to Sy.
![S_x=y-2k\frac{1}{x^2}\\ S_y=x-2k\frac{1}{y^2}](https://tex.z-dn.net/?f=S_x%3Dy-2k%5Cfrac%7B1%7D%7Bx%5E2%7D%5C%5C%20S_y%3Dx-2k%5Cfrac%7B1%7D%7By%5E2%7D%20)
Now let both derivatives go to zero and solve the system (this will give us the so-called critical points).
![0=y-2k\frac{1}{x^2}\\ 0=x-2k\frac{1}{y^2}\\ y=2k\frac{1}{x^2}\\ x=2k\frac{1}{y^2}\\](https://tex.z-dn.net/?f=0%3Dy-2k%5Cfrac%7B1%7D%7Bx%5E2%7D%5C%5C%0A0%3Dx-2k%5Cfrac%7B1%7D%7By%5E2%7D%5C%5C%0Ay%3D2k%5Cfrac%7B1%7D%7Bx%5E2%7D%5C%5C%0Ax%3D2k%5Cfrac%7B1%7D%7By%5E2%7D%5C%5C)
Now we plug in the first equation into the other and we get:
![x=\frac{\frac{2k}{1}}{\frac{4k^2}{x^4}}\\ x^3=2k\\ x=(2\cdot171.5)^{1/3}\\ x=7 ](https://tex.z-dn.net/?f=x%3D%5Cfrac%7B%5Cfrac%7B2k%7D%7B1%7D%7D%7B%5Cfrac%7B4k%5E2%7D%7Bx%5E4%7D%7D%5C%5C%0Ax%5E3%3D2k%5C%5C%0Ax%3D%282%5Ccdot171.5%29%5E%7B1%2F3%7D%5C%5C%0Ax%3D7%0A)
Now we can calculate y:
![y=2k\frac{1}{x^2}\\ y=2\cdot 171.5\frac{1}{7^2}=7](https://tex.z-dn.net/?f=y%3D2k%5Cfrac%7B1%7D%7Bx%5E2%7D%5C%5C%0Ay%3D2%5Ccdot%20171.5%5Cfrac%7B1%7D%7B7%5E2%7D%3D7)
And finaly we calculate z:
![z=\frac{171.5}{xy}\\ z=\frac{171.5}{7\cdot7}=3.5](https://tex.z-dn.net/?f=z%3D%5Cfrac%7B171.5%7D%7Bxy%7D%5C%5C%0Az%3D%5Cfrac%7B171.5%7D%7B7%5Ccdot7%7D%3D3.5)
And finaly let's check our result: