Answer: The answer is 381.85 feet.
Step-by-step explanation: Given that a window is 20 feet above the ground. From there, the angle of elevation to the top of a building across the street is 78°, and the angle of depression to the base of the same building is 15°. We are to calculate the height of the building across the street.
This situation is framed very nicely in the attached figure, where
BG = 20 feet, ∠AWB = 78°, ∠WAB = WBG = 15° and AH = height of the bulding across the street = ?
From the right-angled triangle WGB, we have
![\dfrac{WG}{WB}=\tan 15^\circ\\\\\\\Rightarrow \dfrac{20}{b}=\tan 15^\circ\\\\\\\Rightarrow b=\dfrac{20}{\tan 15^\circ},](https://tex.z-dn.net/?f=%5Cdfrac%7BWG%7D%7BWB%7D%3D%5Ctan%2015%5E%5Ccirc%5C%5C%5C%5C%5C%5C%5CRightarrow%20%5Cdfrac%7B20%7D%7Bb%7D%3D%5Ctan%2015%5E%5Ccirc%5C%5C%5C%5C%5C%5C%5CRightarrow%20b%3D%5Cdfrac%7B20%7D%7B%5Ctan%2015%5E%5Ccirc%7D%2C)
and from the right-angled triangle WAB, we have'
![\dfrac{AB}{WB}=\tan 78^\circ\\\\\\\Rightarrow \dfrac{h}{b}=\tan 15^\circ\\\\\\\Rightarrow h=\tan 78^\circ\times\dfrac{20}{\tan 15^\circ}\\\\\\\Rightarrow h=361.85.](https://tex.z-dn.net/?f=%5Cdfrac%7BAB%7D%7BWB%7D%3D%5Ctan%2078%5E%5Ccirc%5C%5C%5C%5C%5C%5C%5CRightarrow%20%5Cdfrac%7Bh%7D%7Bb%7D%3D%5Ctan%2015%5E%5Ccirc%5C%5C%5C%5C%5C%5C%5CRightarrow%20h%3D%5Ctan%2078%5E%5Ccirc%5Ctimes%5Cdfrac%7B20%7D%7B%5Ctan%2015%5E%5Ccirc%7D%5C%5C%5C%5C%5C%5C%5CRightarrow%20h%3D361.85.)
Therefore, AH = AB + BH = h + GB = 361.85+20 = 381.85 feet.
Thus, the height of the building across the street is 381.85 feet.