Correct option is : (2) Only (S1) is correct
\(f(x)=\cos x-x+1\)
\(f^{\prime}(x)=-\sin x-1\)
\(\mathrm{f}\) is decreasing \(\forall \ \mathrm{x} \in \mathrm{R}\)
\(\mathrm{f}(\mathrm{x})=0\)
\(f(0)=2, f(\pi)=-\pi\)
\(\mathrm{f}\) is strictly decreasing in \([0, \pi]\) and \(\mathrm{f}(0) . \mathrm{f}(\pi)<0\)
\(\Rightarrow\) only one solution of \(\mathrm{f}(\mathrm{x})=0\)
\(\mathrm{S} 1\) is correct and \(\mathrm{S} 2\) is incorrect.