(x)=cosx*(sinx+cosx)
f(x)=cosxsinx+cos^2x
f(x)=1/2sin2x+1/2cos2x+1/2
f(x)=√2/2sin(2x+兀/4)+1/2
所以T=2兀/W=兀