Step 1: Understanding the Concept
\(\dfrac{5\tan x}{\tan x-2}=\dfrac{5\sin x}{\sin x-2\cos x}\).
Step 2: Split the numerator
Write \(5\sin x=A(\sin x-2\cos x)+B(\cos x+2\sin x)\). Comparing coefficients: \(A+2B=5\) and \(-2A+B=0\).
Step 3: Solve
\(B=2A\Rightarrow 5A=5\), so \(A=1\) and \(B=2\).
Step 4: Integrate
\(\int\left(1+\dfrac{2(\cos x+2\sin x)}{\sin x-2\cos x}\right)dx=x+2\log|\sin x-2\cos x|+c\), so \(a=2\).
Final Answer:
The value of \(a\) is 2.
\[ \boxed{\text{(C) }2} \]