His model is incorrect because 20 x 7 is not 14, it is 140. If he had 140 instead of 14, he would have been correct.
I haven't done division like that in a long time, so this is what I think it will look like. I didn't add other work (multiplying 4 with #'s) but you can if you have to
What's the question? what are you asking?
You're looking for the extreme values of
subject to
. The Lagrangian is
![L(x,y,z,\lambda)=3x+6y-6z+1+\lambda(x^2+y^2+z^2-9)](https://tex.z-dn.net/?f=L%28x%2Cy%2Cz%2C%5Clambda%29%3D3x%2B6y-6z%2B1%2B%5Clambda%28x%5E2%2By%5E2%2Bz%5E2-9%29)
with critical wherever the partial derivatives vanish:
![L_x=3+2\lambda x=0\implies x=-\dfrac3{2\lambda}](https://tex.z-dn.net/?f=L_x%3D3%2B2%5Clambda%20x%3D0%5Cimplies%20x%3D-%5Cdfrac3%7B2%5Clambda%7D)
![L_y=6+2\lambda y=0\implies y=-\dfrac3\lambda](https://tex.z-dn.net/?f=L_y%3D6%2B2%5Clambda%20y%3D0%5Cimplies%20y%3D-%5Cdfrac3%5Clambda)
![L_z=-6+2\lambda z=0\implies z=\dfrac3\lambda](https://tex.z-dn.net/?f=L_z%3D-6%2B2%5Clambda%20z%3D0%5Cimplies%20z%3D%5Cdfrac3%5Clambda)
![L_\lambda=x^2+y^2+z^2-9=0](https://tex.z-dn.net/?f=L_%5Clambda%3Dx%5E2%2By%5E2%2Bz%5E2-9%3D0)
Substituting the first three solutions into the last equation gives
![\dfrac9{4\lambda^2}+\dfrac9{\lambda^2}+\dfrac9{\lambda^2}=9](https://tex.z-dn.net/?f=%5Cdfrac9%7B4%5Clambda%5E2%7D%2B%5Cdfrac9%7B%5Clambda%5E2%7D%2B%5Cdfrac9%7B%5Clambda%5E2%7D%3D9)
![\implies\lambda=\pm\dfrac32](https://tex.z-dn.net/?f=%5Cimplies%5Clambda%3D%5Cpm%5Cdfrac32)
![\implies x=1,y=2,z=-2\text{ or }x=-1,y=-2,z=2](https://tex.z-dn.net/?f=%5Cimplies%20x%3D1%2Cy%3D2%2Cz%3D-2%5Ctext%7B%20or%20%7Dx%3D-1%2Cy%3D-2%2Cz%3D2)
At these points, we have
![T(1,2,-2)=28](https://tex.z-dn.net/?f=T%281%2C2%2C-2%29%3D28)
![T(-1,-2,2)=-26](https://tex.z-dn.net/?f=T%28-1%2C-2%2C2%29%3D-26)
so the highest temperature the bee can experience is 28º F at the point (1, 2, -2), and the lowest is -26º F at the point (-1, -2, 2).
The answer is 6, this is because the first step is you put the numbers in order then you find the mode by seeing what number is the most