Princess Sophie E: A uniform ladder of weight w rests on rough horizontal ground against a smooth vertical wall. The vertical plane containing the ladder is inclined at an angle x to the vertical. Prove that if the ladder is on the point of slipping and U is the coefficient of friction between it and the ground, then tanx=wU.