Consider a right triangle with smaller sides,

And hypotenuse,

.

The length of the median upon the hypotenuse is 10.

By this is a special case, the length of median is half the length of hypotenuse. Thus .

The altitude upon the hypotenuse is 8. Thus,

.

But by the Pythagorean theorem we also know that,

.

Thus,

.