The altitude of a right triangle to the hypotenuse is the geometric mean (mean proportional) of the two segments of the hypotenuse:
$$h^{2}=pq \Rightarrow h=\sqrt{pq}$$
The altitude of a right triangle to the hypotenuse is the geometric mean (mean proportional) of the two segments of the hypotenuse:
$$h^{2}=pq \Rightarrow h=\sqrt{pq}$$