Să se determmine primitivele functiei f stiind ca f(x)x(sin x)-f(pi-x)=(cos x)^2.