Step 1: Understanding the Concept
Direction cosines are \(\cos\alpha,\cos\alpha,\cos\theta\) with \(2\cos^{2}\alpha+\cos^{2}\theta=1\).
Step 2: Use the given condition
\(\sin^{2}\theta=2\sin^{2}\alpha\) gives \(1-\cos^{2}\theta=2-2\cos^{2}\alpha\), so \(\cos^{2}\theta=2\cos^{2}\alpha-1\).
Step 3: Solve
Substituting: \(2\cos^{2}\alpha+2\cos^{2}\alpha-1=1\), so \(\cos^{2}\alpha=\frac12\).
Step 4: Result
\(\alpha=\frac{\pi}{4}\).
Final Answer:
The angle alpha is pi by 4.
\[ \boxed{\text{(B) }\left(\dfrac{\pi}{4}\right)} \]