Answer
No local maximum value or minimum value
Work Step by Step
Let us take the derivative of the given function:
$g'(x)= -2 \csc^2 x-\cot x \csc x$ for all $x \neq k \pi$
Thus, the function $g(x)$ does not have any critical points or real solutions.
So, no local maximum value or minimum value.