To differentiate 2xsinx with respect to x, we use the product rule of differentiation, which states that the derivative of a product of two functions is equal to the first function times the derivative of the second function plus the second function times the derivative of the first function. Applying this rule, we get:
(2xsinx)' = 2(x)'sinx + 2x(sin x)'
Simplifying this expression, we have:
(2xsinx)' = 2sinx + 2xcosx
Therefore, the answer is option (D) 2cscx(1−xcotx). None of the other options match the simplified expression we obtained using the product rule.