Q.
Let $f: R \rightarrow R, g: R \rightarrow R$ be differentiable
functions such that $($ fog $)(x)=x$. If $f(x)=2 x+\cos x+\sin ^{2} x$, then the value of
$\displaystyle \sum_{n=1}^{99} g(1+(2 n-1) \pi)$ is
TS EAMCET 2018
Solution: