What is the derivative of f(x) = sin^2(x)+xcos^2(x)?