Answer
No local maximum value or minimum value
Work Step by Step
Need to take the derivative of the given function as follows:
$g'(x)= -2 \csc^2 (x)-\cot (x) \csc (x)$ for all $x \neq k \pi$
Here, the function $g(x)$ does not contain critical points or real solutions of the function $g(x)$.
This implies that we have found no local maximum value or minimum value.