Sine plus cosine/Extrema/Exercise

Determine the extrema of the function