A mass m is being lifted upward by means of a vertical spring of force constant k,with a uniform upward acceleration 'a'.If at the instant its velocity is v= A g.√(3m/k) the upper end of the spring is suddenly brought to rest, calculate the max.extension in the spring.