y=√3sinx+cos(-x)
=√3sinx+cosx
=2(sinx*√3/2+1/2*cosx)
=2sin(x+30º)
∵-1≤sin(x+30º)≤1
∴-2≤2sin(x+30º)≤2
值域为[-2,2]