MathCastle
TrigonometryChallengeThe Unit Circle and Circular Functions

The Unit Circle and Circular Functions · Challenge problem

As tt runs over all real numbers, let MM and mm be the largest and smallest values of

f(t)=sin⁡t+cos⁡t+∣sin⁡t−cos⁡t∣.f(t) = \sin t + \cos t + |\sin t - \cos t|.

Find M−mM - m.