What is the derivative of f(x)=sinx(sinx+cosx)?