Problem:
Compute the median of ${3, -\sqrt{2}}$.
Answer:
\begin{array}{l}
 
\begin{array}{l}
 \text{Find the median of the list}: \\
 \left(3,-\sqrt{2}\right)\text{} \\
\end{array}
 \\
\hline
 
\begin{array}{l}
 \text{The }\text{median }\text{of }\left(3,-\sqrt{2}\right) \text{is }\text{the }\text{average }\text{of }\text{its }\text{two }\text{elements, }3 \text{and }-\sqrt{2}. \text{This }\text{average }\text{is}: \\
 \fbox{$
\begin{array}{ll}
 \text{Answer:} &  \\
 \text{} & \frac{3-\sqrt{2}}{2}=\fbox{$\frac{1}{2} \left(3-\sqrt{2}\right)$} \\
\end{array}
$} \\
\end{array}
 \\
\end{array}

{'source': 'AMPS', 'file': 'amps/mathematica/counting_and_statistics/median_w_steps/3827.txt'}