A ladder leaning against a vertical wall is inclined at an angle $\alpha$ to the horizontal. The top of the ladder touches the parapet. On moving its foot $a$ feet away from the wall, the ladder now stands inclined at an angle $\beta$ to the horizon, and its top now touching a window. Then the distance of the parapet from the window is $a \cot [(\alpha+\beta)/2]$.
Reveal answer
Fill a bubble to check yourself