A uniform ladder of mass, m, and length, l, leans at an angle, theta, against a frictionless wall.

Determine a formula for the minimum angle at which the ladder will not slip.