A liftascends with constant acceleration a, then with constant velocity and finally stops under a constant retardation a. If the total distance ascended is s, and the total time occupied is t,show that the time during which the lift is ascending is given by {t^2 -(4s/a)}