The hypotenuse od a right triangle is 12cm in lenht. Calculate the measures of the unknown angle in the triangle that will maximize its perimeter?

I got the formula P= 12(1 + sin0 + cos0) and A= 12sin0cos0, but i don't know what to do next.

2 answers

let T be the angle (one of them)
dP/dT = 12(0 + cos T -sin T) =0 for max
so
cos T = sin T
45 degrees.
How did you guys get those formulas I have the same question and I have no idea how to start it