A particle of mass m moves on a straight line with its velocity varying with the distance travelled according to the equation v=ax−−√