=1/2sin2x-sin^2x
=12/sin2x-(1-2cos2x)/2
=1/2sin2x+1/2cos2x-1/2
=√2/2sin(2x+π/4)-1/2
(1) T=2π/2=π
(2)X属于(-π/8,3π/8)
0