Exponential decay of energy of vibrating strings with local viscoelasticity