In order to find the extrema, we need to solve the equation
$$\frac{d}{d x} f{\left(x \right)} = 0$$
(the derivative equals zero),
and the roots of this equation are the extrema of this function:
$$\frac{d}{d x} f{\left(x \right)} = $$
the first derivative$$\left(\frac{x \cos{\left(x \right)}}{\sin{\left(x \right)}} + \log{\left(\sin{\left(x \right)} \right)}\right) \sin^{x}{\left(x \right)} = 0$$
Solve this equationThe roots of this equation
$$x_{1} = -86.3937979737193$$
$$x_{2} = -42.4115008234622$$
$$x_{3} = 78.3185203913667$$
$$x_{4} = 66$$
$$x_{5} = 14.1371669411541$$
$$x_{6} = -17.2787595947439$$
$$x_{7} = -48.6946861306418$$
$$x_{8} = 69.7294808587037$$
$$x_{9} = 44$$
$$x_{10} = -67.5442420521806$$
$$x_{11} = 75.8465109066918$$
$$x_{12} = -80.1106126665397$$
$$x_{13} = 1.5707963267949$$
$$x_{14} = 37.8717411772585$$
$$x_{15} = -4.71238898038469$$
$$x_{16} = 90.4634913507823$$
$$x_{17} = 84.3850756373542$$
$$x_{18} = 94.2499761852926$$
$$x_{19} = -10.9955742875643$$
$$x_{20} = -23.5619449019235$$
$$x_{21} = 28.25$$
$$x_{22} = 81.928961743613$$
$$x_{23} = 72.25$$
$$x_{24} = 58.1194640914112$$
$$x_{25} = 22$$
$$x_{26} = 40.5041716762775$$
$$x_{27} = 7.85398163397448$$
$$x_{28} = -29.845130209103$$
$$x_{29} = 88$$
$$x_{30} = 31.7041101636263$$
$$x_{31} = 50.25$$
$$x_{32} = -36.1283155162826$$
$$x_{33} = 46.6183139638301$$
$$x_{34} = -73.8274273593601$$
$$x_{35} = -61.261056745001$$
$$x_{36} = 34.3930611433029$$
The values of the extrema at the points:
(-86.39379797371932, 1)
(-42.411500823462205, 1)
(78.31852039136672, 2.63766845908706e-52)
(66, 9.76122980167105e-105)
(14.137166941154069, 1)
(-17.278759594743864, 1)
(-48.6946861306418, 1)
(69.72948085870367, 2.09325036134368e-17)
(44, 8.18280034409697e-78)
(-67.54424205218055, 1)
(75.84651090669182, 2.8907490601981e-28)
(-80.11061266653972, 1)
(1.5707963267948966, 1)
(37.8717411772585, 1.06274357092501e-29)
(-4.71238898038469, 1)
(90.46349135078235, 7.73671767672464e-21)
(84.38507563735416, 3.63585977311712e-32)
(94.24997618529257, 2.88166008073291e-251)
(-10.995574287564276, 1)
(-23.56194490192345, 1)
(28.25, 2.56602753473771e-46)
(81.92896174361296, 9.11309338221903e-51)
(72.25, 4.06451671778195e-158)
(58.119464091411174, 1)
(22, 6.82598553261945e-46)
(40.504171676277544, 3.23100139272612e-20)
(7.853981633974483, 1)
(-29.845130209103036, 1)
(88, 2.0438764612174e-128)
(31.70411016362626, 4.76629963711329e-18)
(50.25, 7.72801296630727e-92 + 7.72801296630727e-92*I)
(-36.12831551628262, 1)
(46.61831396383006, 2.09430873514375e-15)
(-73.82742735936014, 1)
(-61.26105674500097, 1)
(34.393061143302916, 9.33994599575585e-28)
Intervals of increase and decrease of the function:Let's find intervals where the function increases and decreases, as well as minima and maxima of the function, for this let's look how the function behaves itself in the extremas and at the slightest deviation from:
Minima of the function at points:
$$x_{1} = -86.3937979737193$$
$$x_{2} = -42.4115008234622$$
$$x_{3} = -17.2787595947439$$
$$x_{4} = -48.6946861306418$$
$$x_{5} = -67.5442420521806$$
$$x_{6} = -80.1106126665397$$
$$x_{7} = -4.71238898038469$$
$$x_{8} = -10.9955742875643$$
$$x_{9} = -23.5619449019235$$
$$x_{10} = -29.845130209103$$
$$x_{11} = -36.1283155162826$$
$$x_{12} = -73.8274273593601$$
$$x_{13} = -61.261056745001$$
Maxima of the function at points:
$$x_{13} = 14.1371669411541$$
$$x_{13} = 1.5707963267949$$
$$x_{13} = 58.1194640914112$$
$$x_{13} = 7.85398163397448$$
Decreasing at intervals
$$\left[-4.71238898038469, 1.5707963267949\right]$$
Increasing at intervals
$$\left(-\infty, -86.3937979737193\right]$$