函数y=余弦的平方+sinx的最大值
5/4
解
y=cos²x+sinx
函数定义域:R
=1-sin²x+sinx
=-(sinx-1/2)²+5/4
≤5/4(当且仅当sinx=1/2时取等号)
∵-1≤sinx≤1
∴sinx=1/2是可以取到的