The difference between two successive resonating lengths in a resonance tube experiment is equal to half the wavelength of the sound ($l_2 - l_1 = \lambda/2$). Therefore, $\lambda = 2 \times (l_2 - l_1) = 2 \times 31.5 cm = 63 cm$.