In a trapezoid, the length of the median (also known as the midsegment) is calculated as the average of the lengths of the two bases. The bases in this case are the segments on the top and bottom of the trapezoid.
The top base length is represented as \(19\) and the bottom base length is represented as \(21\).
To find the length of the median (M) of the trapezoid, we use the formula:
\[ M = \frac{\text{Base}_1 + \text{Base}_2}{2} \]
Substituting the values for the bases:
\[ M = \frac{19 + 21}{2} = \frac{40}{2} = 20 \]
Therefore, the length of the median of the trapezoid is \(20\).
The answer is 20.