We can do this by taking the derivitive to find the max and min points
y'=-10sinx
find where it equals 0 in the interval
it equals 0 at -2pi, -pi,0,pi,2pi
those are the critical points
sign chart
find the signs of the derivitive between them (see attachment)
the maximums are where the sign changes from positive to negative,
minimums are where the sign changes from negative to positive
we see we have maximums at -2pi, 0, and 2pi
minimums at -pi and pi
if we evaluate the original function at those values we get
10cos(-2pi)=10
10cos(0)=10
10cos(2pi)=10
10cos(-pi)=-10
10cos(pi)=-10
the max value of the function is 10 at x=-2pi,0, and 2pi
the min value of the function is 10 at x=-pi and pi