A sound wave that runs through a medium loses energy during various processes (scattering, absorption, and reflection). This is called attenuation. The intensity I of the wave follows the law of attenuation
I= I0 exp(-us)
where (I0) is the initial intensity, (s) is the path length in the medium, and (µ) is the attenuation coefficient.