设f(x)=x-∫(0,π)f(x)cosxdx,求f(X)