For a right-angled triangle with fixed hypotenuse \(h\), the area \( A = \frac{1}{2}ab \) is maximized when the triangle is isosceles, i.e., \( a=b \).
In this case, \( a^2+a^2 = h^2 \implies 2a^2=h^2 \implies a = h/\sqrt{2} \).
The sides are \( h/\sqrt{2}, h/\sqrt{2}, h \).
Perimeter \( = h/\sqrt{2} + h/\sqrt{2} + h = \sqrt{2}h + h = h(\sqrt{2}+1) \).