解析:f(x)=2cos2x+(sinx)^2-4cosx
=2[2(cosx)^2-1]+1-(cosx)^2-4cosx
=3(cosx)^2-4cosx-1,
=3(cosx-2/3)^2-7/3,
∴f(π/3)=3[cos(π/3)-2/3]^2-7/3=3(1/2-2/3)^2-7/3=-9/4,
ymax=3(-1-2/3)^2-7/3=6,当cosx=-1时,
ymin=3(2/3-2/3)^2-7/3=-7/3,当cosx=2/3时,
解析:f(x)=2cos2x+(sinx)^2-4cosx
=2[2(cosx)^2-1]+1-(cosx)^2-4cosx
=3(cosx)^2-4cosx-1,
=3(cosx-2/3)^2-7/3,
∴f(π/3)=3[cos(π/3)-2/3]^2-7/3=3(1/2-2/3)^2-7/3=-9/4,
ymax=3(-1-2/3)^2-7/3=6,当cosx=-1时,
ymin=3(2/3-2/3)^2-7/3=-7/3,当cosx=2/3时,