I am having difficulty proving this physics formula. It states:
If a physics student drops a watermelon from the roof of a building and hears the watermelon going "splat" on the ground after time $\Delta t$, show that the height of the building $h$ measured in meters is given by
$$\frac{1}{2}g\Bigg(\frac{-{v_s}+\sqrt{{v_s}^2+2g{v_s}{\Delta t}}}{g}\Bigg)^2$$
where $v_s$ is the speed of sound, g is the acceleration due to gravity, and air resistance is ignored.
My attempt went as follows:
Since the initial velocity of the watermelon is zero and $\Delta t$ is equal to the duration of the fall $+$ the time taken for sound to travel the distance $h$, it follows that
$${\Delta x}={v_0}t-\frac{1}{2}gt^2$$
becomes
$$h=\frac{1}{2}g\Big({\Delta t}-\frac{h}{v_s}\Big)^2$$
where $h$ is positive.
Solving for h gives
$$h=\frac{1}{2}g\Big({\Delta t}^2-\frac{2h{\Delta t}}{v_s}+\frac{h^2}{{v_s}^2}\Big)$$
$$h=\frac{1}{2}g{\Delta t}^2-\frac{gh{\Delta t}}{v_s}+\frac{gh^2}{{2v_s}^2}$$
$$2{v_s}^2h={v_s}^2g{\Delta t}^2-2{v_s}gh{\Delta t}+gh^2$$ $$gh^2-2{v_s}(g{\Delta t}+{v_s})h+{v_s}^2g{\Delta t}^2=0$$
$$h=\frac{2{v_s}(g{\Delta t}+{v_s})\pm\sqrt{(2{v_s}(g{\Delta t}+{v_s}))^2-4g{v_s}^2g{\Delta t}^2}}{2g}$$
which clearly doesn't look like the answer above.
Any help?