I am stuck on this optimization problem:
I am supposed to find the largest rectangle that can be fit into the right triangle. I think I am having trouble with setting up the constraints. I am able to optimize cylinders in spheres but I cannot seem to figure this one out. So far my constraints are as follows: $$\begin{align}A_{rect}&=(11-w)(60-h)\\A_{tri}&=\dfrac{1}{2}wh\end{align}$$
I looked over this again and it seems that my equation for the area of a rectangle isn't correct. I cannot figure out a way write the constraint for the rectangle. Is there another method to solving this problem?
