The amplitude of a wave is dependent upon what?
A. the amount of energy carried by the wave
B. the maximum displacement from the rest position
C. neither A nor B
D. both A and B