A spring pendulum executes SHM in such a way that the block is having velocity v when it crosses the mean position. Now the changes have been made in such a way that the velocity