A particle of mass m moves on positive x-axis under the influence of force acting towards the origin given by −kx2i^. If the particle starts from rest at x=a, the speed it will attain when it crosses the origin is
(A) mak
(B) ma2k
(C) 2kma
(D) None of these