by measuring attenuation of acoustic waves