①依题意得√3×sinA-cosA=2sin(A-π/6)=1
∴A-π/6=π/6
∴A=π/3
②f(x)=cos2x+2sinx=1-2sin²x+2sinx
令sinx=t(-1≤t≤1)
f(x)=-2t²+2t+1=-2(t-1/2)²+3/2∈〔-3,3/2〕
即值域为〔-3,3/2〕
①依题意得√3×sinA-cosA=2sin(A-π/6)=1
∴A-π/6=π/6
∴A=π/3
②f(x)=cos2x+2sinx=1-2sin²x+2sinx
令sinx=t(-1≤t≤1)
f(x)=-2t²+2t+1=-2(t-1/2)²+3/2∈〔-3,3/2〕
即值域为〔-3,3/2〕