1) f(x) =2sinx +cos2x , x∈[π ;2π].
---
f(x) =2sinx +(1-2sin²x) = -2sin²x +2sinx +1 = -2(sinx - 1/2)² +1,5 .
maxf(x)=1,5 , если sinx =1/2 . x =π/6 или π -π/6 =5π/6 .
minf(x) = -3 , если sinx = -1. x = 3π/2.
-------
2) f(x) =2cosx -cos2x , x∈[0 ;π].
---
(x) =2cosx -(2cos²x -1) = -2cos²x +2cosx +1 = -2(cosx - 1/2)² +1,5 .
maxf(x)=1,5 , если cosx =1/2 . x =π/3 .
minf(x) = -3 , если cosx = -1. x = π.