A small boy attached to one end of a vertically hanging spring is performing SHM about its mean position with angular frequency
ω and amplitude a. If at height y from the mean position the body gets detached from the spring. Calculate the value of y so that height obtained by the mass is maximum. The body does not interact with the spring during its subsequent motion after detachment