If the antiderivative of f(x) =
sinxsin2x+4cos2x is (1/3)tan−1((1/3)g(x))+C then
g(x) is equal to
secx
tan x
sin x
cos x
f(x)=sinxsin2x+4cos2x=tanxsecxtan2x+4=tanxsecxsec2x+3
Putting secx=t,dxsecxtanx=dt so
∫f(x)dx=∫dtt2+3=13tan−1secx3+C