The displacement of a particle varies according to the relation X=4(cosπt+sinπt) The amplitude of the particle is