The maximum value of the function f(x)=−|x+1|+3 is
1
2
3
4
|x+1|≥0⇒−|x+1|≤0
⇒−|x+1|+3≤3
∴ maximum value=3
If x≠1 and f(x)=x+1x−1 is a real function, then f(f(f(2))) is
The maximum value of the function f(x)=sin x + cos x is