# What is the derivative of y=xcosx+sinx?

$2 \cos x - x \cdot \sin x$
derrivtive of $x$$\cos x$ can be fund bu uv rule and is $\cos x - x \cdot \sin x$
and $\sin x$ derivative is cos x
adding both answers lead to $2 \cos x - x \cdot \sin x$