find the amplitude of motion.