Calculation

 

.
 The time for the sound to reach the ceiling and return is measured.