For the derivative $f^{\prime}(𝑥) = \cos𝑥 - x\sin(x)$. I need to evaluate it when $x=\frac{\pi}{4}$.
The textbook shows the result as : $f^{\prime}(\frac{\pi}{4})=\frac{\sqrt{2}}{8}(4−\pi)$
Unfortunately, I don't know how to get to that result.
Can someone show me step by step? Thank you so much in advance!