TeX source:
EPQ = \sqrt{\frac{{2DS}}{H} \times \frac{P}{P-D}}