The range of f(x)=cosx−sinx is
⇒−1≤sinθ≤1
So,
⇒−1≤sin(π4−x)≤1
⇒−√2≤√2sin(π4−x)≤√2
⇒−√2≤f(x)≤√2
∴f(x)∈[−√2,√2].
f(x) = sin(x) defined on f: [−π2,π2] → [−1,1] is -