A block is connected with a spring executing SHM with time period T in vertical plane. The amplitude of oscillation is A. Find the time taken by the particle to move from position