f(x)=f′(π/2)sinx+cosx
∴ f'(x)=f'(π/2)cosx-sinx
∴ f'(π/2)=-sin(π/2)=-1
∴ f(x)=-sinx+cosx
∴ f(π/4)=-sin(π/4)+cos(π/4)=0