题目内容
设当x=θ时,函数f(x)=sinx-2cosx取得最大值,则cosθ=________.
-![]()
[解析] f(x)=sinx-2cosx=
(
sinx-
cosx),
令
=cosα,
=sinα,则f(x)=
sin(x-α),
∵x∈R,∴f(x)max=
,
且当x-α=2kπ+
时取到最大值,k∈Z.
∵x=θ时,f(x)取得最大值,∴θ=2kπ+
+α.
∴cosθ=cos(2kπ+
+α)=-sinα=-
.
练习册系列答案
相关题目