= 1/2- 1/2 cos 2 wx+√3/2s in2 wx
= 1/2+sin(2wx-π/6)
π=2π/2w
Solution: w= 1
So: f(x)= 1/2+sin(2x-π/6)
(2)f(x)+f(x+2)= 2sin(π/4x+π/4)+2sin(π/4x+π/2+π/4)
=2sin(π/4x+π/4)+2cos(π/4x+π/4)
=2√2cos(π/4x)
Therefore, when x=-2/3, the maximum value of f(x)+f(x+2) is obtained; Its value is -√6/3.
When x=-6, the minimum value of f(x)+f(x+2) is obtained; Its value is -2√2.