What is the maximum and minimum of y = SiNx + cosx between 0 and 90 degrees

What is the maximum and minimum of y = SiNx + cosx between 0 and 90 degrees

y=sinx+cosx
=√2(√2/2*sinx+√2/2*cosx)
=√2(cos45°sinx+sin45°cosx)
=√2sin(x+45°)
When x ∈ [0.90 degree], x + 45 degree ∈ [45 degree. 135 degree]
When x + 45? = 45?, the minimum value of Y is 1,
When x + 45 ° = 90 °, the maximum value of Y is √ 2