a=2cos²x+sinx-1=1-2sin²x+sinx
令f(x)=-2sin²x+sinx+1=-2[sinx-(1/4)]²+(9/8)
f(x)最大值为9/8,最小值为-2
于是a∈[-2,9/8]