The solution of the equation [sinx+cosx]1+sin2x=2,−π≤x≤π is
The solution of the equation [sinx+cosx]1+sin2x=2, −π≤x≤π is