An elevator accelerates upwards at a constant rate. A uniform string of length L and mass m supports a small block of mass M that hangs from the ceiling of the elevator. The tension at distance l from the ceiling is T. The acceleration of the elevator is