The mass M shown in the figure oscillates in simple harmonic motion with amplitude A. The amplitude of the point P is