f(x)=2sin(π/4+x/2)*cos(π/4+x/2)+asinx
=sin(x+π/2)+asinx
=asinx+cosx
=√(a²+1)sin(x+φ)
其中cosφ=a/√(a²+1)(取0