The time taken by a particle executing simple harmonic motion to pass from point A to B where its velocities are same