Given data:
The given expression for the function is f(x)=-2sin(x)cos(x).
Th egiven expression can be written as,
f(x)=-sin2x.
Differentiate the given function with respect to x an equate to zero.

Avoid x=π/4.
The value of function at x=π/3.
f(π/3)=-sin(2π/3)
=-0.866.
The value of at x=3π/4.
f(3π/4)=-sin(6π/4)
=-1
The value of function at x=π is,
f(π)=-sin(2π)
=0
Thus, the maximum value of function is 0 at x=π, and minimum value is -1 at x=3π/4.