A uniform ladder of length L rests against a smooth, vertical wall as shown in the figure below. If the mass of the ladder is m and the coefficient of static friction between the ladder and the ground is muks=0.4, find the minimum angle theta at which the ladder does not slip.