Sine plus cosine/Extrema/Exercise