At 45∘, the opposite side (height) and adjacent side (distance) are equal in a right triangle. Therefore, the building's height is also 50 meters.
The path forms a right triangle, with the distance as the hypotenuse. Using the Pythagorean theorem:
Distance= √20 2+15 2 = √400+225 = √625 = 25 km.
Using tan(30∘) = opposite / adjacent:
tan(30∘) = h/12 → √3/3 = h/12 → h= 6 √3
Using tan(60∘)=opposite / adjacent:
tan(60∘) = h/100 → √3 =h/100 → h = 100 √3.
The height of the ladder is the opposite side of the triangle.
Using sin(60∘) = opposite / hypotenuse:
sin(60∘) = h/10 → √3/2 = h/10 → h = 5√3.