The position of a particle moving x-axis is given by x=10t−2t2. Then the time (t) at which it will momently come to rest is :