$${h = \frac{v^2}{2g} = \frac{500^2 (\text{m/s})^2}{2 \cdot 10 \text m/ \text s^2 } = 12 500 \text m}$$