For a traveling wave y=Asin(kx−ωt+θ) moving in a string with mass density p, what is the energy stored in a segment of the string with a length equal to one wavelength?
A) The energy is directly proportional to the amplitude A and independent of mass density p.
B) The energy is inversely proportional to the amplitude A and directly proportional to mass density p.
C) The energy is directly proportional to both the amplitude A and mass density p.
D) The energy is independent of both amplitude A and mass density p.