The range of the function f(x)=sgn(sin2x+2sinx+4sin2x+2sinx+3) is (where sgn(.) denotes signum function)
If [2sinx]+[cosx]=−3 then the range of the function f(x)=sinx+√3 cosx in[0,2π] is (where [⋅] denotes greatest integer function)