The function sinx+cosx is maximum when x is equal to:
The maximum value of sin(x+π6)+cos(x+π6) in the
interval (0,π2) is attained at