what is the difference between altitude and median?
A median of a triangle is a segment connecting a vertex to the midpoint of its opposite side. An altitude of a triangle is a segment from a vertex to the line containing its opposite side, and is perpendicular to that line.