A particle is in linear simple harmonic motion between two points A and B