QuestionShareShow that the function $f(x)=\cos x$ is decreasing in the interval $\left(0, \frac{\pi}{2}\right)$.