Answer:
39.4 feet
Explanation:
The tangent trig relation can be used to relate the height of the tree to the distance from the observation point. We can start with the tangent relation, then apply it to both observation points.
__
Let h represent the height of the tree. Then for some distance d to the tree, we have ...
Tan = Opposite/Adjacent
tan(30°) = h/d
tan(20°) = h/(d+40)
__
Solving the first equation for d and substituting into the second equation gives ...
d = h/tan(30°)
tan(20°) = h/(h/tan(30°) +40) . . . . . substitute for d
h/tan(30°) +40 = h/tan(20°) . . . . . . multiply by (h/tan(30°)+40)/tan(20°)
h(1/tan(20°) -1/tan(30°) = 40 . . . . . subtract h/tan(30°) and factor
h = 40tan(20°)tan(30°)/(tan(30°) -tan(20°)
h ≈ 39.392 . . . feet
The height of the tree is about 39.4 feet.
_____
As you can see from the attachment, a graphing calculator can solve these equations easily.