Hi everybody,
t = time in seconds,
h = height of building in meters,
v(t) = velocity of watermellon at time t,
z(t) = position of watermellon at time t.
f = total time to fall in seconds,
s = time for sound to return in seconds,
f+s = 2.495 to 2.505 seconds
340 = speed of sound in meters/second.
g = 9.80665 meters/second^2
ignore air resistance.
v(t) = gt
z(t) = 1/2 g t^2
f = t, such that z(t) = h,
or easier,
h = z(f) = 1/2 g f^2.
Eliminate h:
s = h / (340 m/s) = 1/2 g f^2 / 340 = (g/680) f^2
g/680 f^2 + f + c = 0
Quadratic equation:
a f^2 + b f + c = 0
a = g/680
b = 1
c = -2.495 or -2.5 or -2.505
f = (-b + sqrt(b^2 -4ac))/2a
f = 2.4112 or 2.4158 or 2.4205 seconds to fall
h = 28.51 or 28.62 or 28.73 meters high, i.e.,
h = 28.62 +/- 0.11 meters,
given time to hear sound was 2.50 +/- 0.005 seconds.
-- Archimerged (Arc)