Two particles X and Y starting from rest cover the same distance. The acceleration of X is twice that of Y. the ratio of the time taken by X to that taken by Y is
A
\(\frac{1}{2}\)
B
\(\frac{2}{\sqrt2}\)
C
\(\frac{1}{\sqrt2}\)
D
\(\sqrt 2\)
E
4