Using the information in the first part of the problem, let d be the distance from C to B and h be the height of the building. So we have,
tan(25) = h/d Solving for h we have, h = d*tan(25)
And, since we have a right triangle with two legs d and 160, the distnce that D is from B = √(1602 + d2)
So we have
tan(20) = (h)/√(1602 + d2) = (d*tan(25)) / √(1602 + d2)
Simpifying, we have
tan(20)/ tan(25) = d/√(1602 + d2) and we can write
tan(25)/tan(20) = √(1602 + d2) /d Square both sides
[tan(25)/tan(20)]2 = (1602 + d2)/d2 and the right side = 160/d2 + 1 Subtract 1 from both sides
([tan(25)/tan(20)]2 - 1) = 1602/d2 and we can write
d2 = 1602 / ([tan(25)/tan(20)]2 - 1) Simplifying this, we have
d2 = 1602 / (.6413959572703699169) Now....take the square root of both sides
d = 199.7822378461935026188794268 m
And using .... h = d*tan(25) ....we have....
h = (199.7822378461935026188794268)* tan(25) ≈ 93.159 m or just 93 m
I think that's it.....I haven't worked one like this before....thanks for submitting it....I hope I haven't made any grevious mistakes !! (P.S. ....thanks to alan for catching my previous error.....I went back and corrected it so that now, it appears that I'm smarter than I might really be....also...rom's method is better and actually conforms to what was asked....but I guess my approach shows that there's more than one way to skin a cat !!) (so to speak)