Let the window be at P at a height of 15 metres above the ground and CD be the house on the opposite side of the street such that the angle of devation of the top D of house CD as seen from P is of 30∘ and the angle of depression of the foot C of house CD as seen from P is of 45∘.
Let h metres be the height of the house CD.
We have,
QD = CD - CQ = CD - AP =(h−15) metres.
In Δ PQC, we have
tan45∘ = QCPQ⇒1=15PQ⇒PQ=15 metres.
In Δ PQD, we have
tan30∘=QDPQ
⇒1√3=h−1515⇒h−15=15√3⇒h−15=5√3
Rightarrow h = 15 + 5 × 1.732 = 23.66 metres,
Hence, the height of the opposite house is 23.66 metres.