Step 1: Understanding the Concept
Divide by \(\cos^2x\): \(\int\dfrac{\sec^2x\,dx}{\sec^2x+3\tan^2x}=\int\dfrac{\sec^2x\,dx}{1+4\tan^2x}\).
Step 2: Substitute
Put \(t=\tan x\), \(dt=\sec^2x\,dx\): \(\int\dfrac{dt}{1+4t^2}\).
Step 3: Integrate
\(\int\dfrac{dt}{1+(2t)^2}=\dfrac{1}{2}\tan^{-1}(2t)+c=\dfrac{1}{2}\tan^{-1}(2\tan x)+c\)
So \(f(x)=2\tan x\).
Final Answer:
f(x) equals 2 tan x.
\[ \boxed{\text{(A) }2\tan x} \]