On the impact of a string and of two vibrating strings