Which of the following can produce longitudinal as well as transverse waves under different conditions?