Step 1: Identify the coefficients
Compare \(kx^2-4xy+y^2=0\) with \(ax^2+2hxy+by^2=0\): \(a=k\), \(h=-2\), \(b=1\).
Step 2: Use the angle formula
\(\tan\theta=\dfrac{2\sqrt{h^2-ab}}{|a+b|}=\dfrac{2\sqrt{4-k}}{|k+1|}=\dfrac{1}{2}\)
Step 3: Solve
\(4\sqrt{4-k}=|k+1|\Rightarrow 16(4-k)=(k+1)^2\Rightarrow k^2+18k-63=0\)
So \(k=3\) or \(k=-21\).
Step 4: Match
Only \(k=3\) appears among the options (21 is not \(-21\)), so the answer is option (C).
Final Answer:
The value of k is 3.
\[ \boxed{\text{(C) }3} \]