A ball of mass m moving with speed v0 strikes a block of mass 3m kept at rest. The collision is completely inelastic . If k is spring constant