handouts/Misc/Warm-Ups/median.tex
2024-04-01 21:50:50 -07:00

35 lines
650 B
TeX
Executable File

\documentclass[
solutions,
hidewarning,
singlenumbering,
nopagenumber
]{../../resources/ormc_handout}
\usepackage{../../resources/macros}
\title{Warm-Up: A Familiar Concept}
\uptitler{\smallurl{}}
\subtitle{Prepared by Mark on \today}
\begin{document}
\maketitle
\problem{}<one>
Let $v = [-5, -2, 0, 1, 4, 1000]$. Find all $x$ that minimize the following metric. \par
$$
\sum_{\forall i} |v_i - x| = |v_1 - x| + |v_2 - x| + ... + |v_6 - x|
$$
\vfill
\problem{}
Let $v = [-5, -2, 0, 1, 4, 1000, 1001]$. Find all $x$ that minimize the metric in \ref{one}.
\vfill
\problem{}
What is this metric usually called?
\end{document}