A uniform ladder of length 2a and mass m lies on a vertical plane with one end against a smooth vertical wall,the other end being supported on a horizontal floor. The ladder is released from rest when inclined at an angle Q to the horizontal. Find the inclination of the ladder to the horizontal when it ceases to touch the wall.