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