Oscillations and mechanical waves