(1)f(π/4)=a=1,所以a=1
f(x)=sin2x+cos2x=√2sin(2x+π/4)
T=π
(2)cos2β=1/2
所以1-2sin^2 β=1/2
sin^2 β=1/4
sinβ=±1/2