Calculation: Let us express 1+cosxsinx in terms of tan x1+cosxsinx=(cos22x+sin22x)+(cos22x−sin22x)2sin2xcos2x=2cos22x2sin2xcos2x=cos2xsin2x=tan2x∴f(x)=tan−1[1+cosxsinx]=tan−1(tan2x)=2x And, the first derivative of f(x)=f′(x)=dxd(2x)=21.