f(x)=√3sinx+cosx
=2[sinx*(√3/2)+cosx*(1/2)]
=2[sinx*cos(π/6)+cosxsin(π/6)]
=2sin(x+π/6)
所以 值域为 【-2,2】