From the diagram, the height of the triangle is 6+h
We can as well gfrac{det the base using Pythagoras theorem.
b=236−h2
Thus, the area of the triangle is
A=21(236−h2)(6+h)=(36−h2(6+h)
Find the derivative of A and set it to 0.
dhdA=36−h2−36−h2h(6+h)=036−h2−h(6+h)=036−2h2−6h=0h2+3h−18=0(h−3)(h+6)=0h=3,h=−6
Thus h=-6,3 are the critical points.
dh2d2A at h=-6 >0, dh2d2A at h=3<0.
Thus, h=3 is the maximum point.
The largest area of the triangle is
A=(36−32)(6+3)=273in2
Comments