If f:R→S defined by f(x)=sinx−√3cosx+1 is onto, then the interval of S is
If f: R→ S defined by f(x)=sinx−√3cosx+1 is onto ,then the interval of S is