Via the product rule, or otherwise, differentiate 'y = xsin(x)'.
SInce, for y = uv, dy/dx = uv' + vu', where u' = du/dx, therefore:dy/dx = (1sin(x)) + (xcos(x)) = sin(x) + xcos(x)
HM
SInce, for y = uv, dy/dx = uv' + vu', where u' = du/dx, therefore:dy/dx = (1sin(x)) + (xcos(x)) = sin(x) + xcos(x)