设函数f(x)=(2cosx+asinx)sinx+cos^2x(x∈R),且f(π/2)=f(π/4)