h(x)=sin(x)+cos(x)
Dividing and multiplying by √2
=√2(1√2sinx+1√2cosx)
=√2(cos45sinx+sin45cosx)
=√2(sin(x+45))
⇒h(x)=√2(sin(x+45))
We know that
−1≤sin(x)≤1
⇒−√2≤√2sin(x)≤√2
Here x can take any value
⇒−√2≤√2sin(x+45)≤√2
So maximum and minimum value of the function h(x) is √2 and −√2
But since domain has been constrained to 0<x<π2, therefor h(x) will attain a minimum value of 1 at x=0 and x=π2