The width of a road is b' feet on one side of which there is a window h' feet height. A building stands on another side of the road and subtends an angle θ at the window. Then the height of the building is
Using sine law, we get Hsinθ= √b2+h2sin(90°+α−θ)
Hsinθ= √b2+h2cos(α−θ)
Hsinθ= √b2+h2cosθ.cosα+sinθ.sinα
cosα= b√b2+h2
sinα= h√b2+h2
∴ Hsinθ= b2+h2bcosθ+hsinθ
H= (b2+h2)sinθbcosθ+hsinθ