已知函数f(x)=2cosx+sin平方x,求f(x)的最大值

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/28 18:05:10
已知函数f(x)=2cosx+sin平方x,求f(x)的最大值

已知函数f(x)=2cosx+sin平方x,求f(x)的最大值
已知函数f(x)=2cosx+sin平方x,求f(x)的最大值

已知函数f(x)=2cosx+sin平方x,求f(x)的最大值
f(x)=2cosx+sin^2 x
=-cos^2 x+2cosx+1
令t=cosx
则f(x)=-t^2+2t+1=-(t-1)^2+2
因为t∈[-1,1]
所以当t=1时,f(x)有最大值2

f(x)=2cosx+1-cos²x
=-(cosx-1)+2
因为cosx<=1
开口向下
所以是递增的
所以cosx=1,最大值=2