This question was asked in Example 20
Prove that the area of a right angled triangle is given hypotenuse is maximum when triangle is isosceles

Zidi Jatnii's image