A smooth, straight, narrow tube of length is fixed at an angle of to the horizontal. A particle is fired up the tube, from the lower end, with initial velocity . When the particle reaches the upper end of the tube, it continues its motion until it returns to the same level as the lower end of the tube, having travelled a horizontal distance after leaving the tube. Show that satisfies the equation
and hence that
The final horizontal displacement of the particle from the lower end of the tube is . Show that when , and determine, in terms of and , the corresponding value of .