Consider the given data.
The height of building AB=60 m.
And angle of the depression of the top and bottom of vertical lamp post CD are observed to be 30∘ and 60∘, respectively shown in the figure.
In the △ADB,
tan60∘=60x
√3=60x
x=60√3 m
In the △ACP,
tan30∘=60−hx
1√3=60−h60√3
603=60−h
h=60−20
h=40 m
Therefore,
The distance of between AB and CD is 60√3 m.
The height of lamp post is 40 m.
The difference between the height of the building and the lamp post =60−40=20 m.