Substituting these values, we get:
$$\cos x\left(\frac{\sin x}{\cos x}+\frac{\cos x}{\sin x}\right)$$
Simplifying further, we have:
$$\cos x\left(\frac{\sin^2 x + \cos^2 x}{\cos x \sin x}\right)$$
Since $\sin^2 x + \cos^2 x = 1$, we can simplify the expression
Show more…