Q.
Let $f:[0, \infty) \rightarrow[0,3]$ be a function defined by
$f(x)=\begin{cases}\max \{\sin t: 0 \leq t \leq x\}, & 0 \leq x \leq \pi \\2+\cos x, & x>\pi
\end{cases}$
Then which of the following is true?
Solution: