derivative of y= x^2 sin x

d (uv)=vdu + u dv

d(x^2 sinx)=sinx *2x dx+ x^2 cosx dx