A string of linear mass density 0.5 g cm−1 and a total length 30 cm is tied to a fixed wall at one end and to a frictionless ring at the other end. The ring can move on a vertical rod. A wave pulse is produced on the string which moves towards the ring at a speed of 20 cms−1. The pulse is symmetric about its maximum which is located at a distance of 20 cm from the end joined to the ring. Assuming that the wave is reflected from the ends without loss of energy, find the time taken by the string to regain its shape.