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