In a resonance tube experiment, a tuning fork of frequency 500Hz is held over the open end of a tube whose water level can be lowered. The first resonance is heard when the air column is 16.0cm long, and the second when it is 50.0cm long. The speed of sound in air and the end correction of the tube are