Let the ladder length = 10 m, angle with ground = 45°.
We need to find the distance of foot of ladder from the wall, i.e., the base BC in right triangle ABC.
Using trigonometric relation for the base:
\[\cos 45^\circ = \frac{\text{Base}}{\text{Hypotenuse}} = \frac{BC}{10}\]
\[BC = 10 \times \cos 45^\circ = 10 \times \frac{1}{\sqrt{2}} = \frac{10}{\sqrt{2}} = 5\sqrt{2} m\]