Given,
A dog hear its echo after time, T = 0.5 s
Speed of sound in air, S = 346 m/s
Let the distance between the dog and the building be X.
According to the question, the distance travelled by the sound between the bark of the dog and the echo heard by the dog is 2X.
We know,
Speed = DistanceTime
Therefore,
S = 2XT 346 = 2X0.5
X = 86.5 m
Hence, the distancebetween the dog and the building is 86.5 m.