how to calculate amplitude of a wave - Search