If $f(x)=x^2$ and $g(x)= x \sin x + \cos x$ then
Question is already solved here:
https://gateoverflow.in/124324/isi2004-miii-23?show=320261
64.3k questions
77.9k answers
244k comments
80.0k users