Added median warm-up
This commit is contained in:
parent
e9bd5b5631
commit
df158c26b9
29
Misc/Warm-Ups/median.tex
Executable file
29
Misc/Warm-Ups/median.tex
Executable file
@ -0,0 +1,29 @@
|
|||||||
|
\documentclass[
|
||||||
|
nosolutions,
|
||||||
|
warning,
|
||||||
|
singlenumbering,
|
||||||
|
nopagenumber
|
||||||
|
]{../../resources/ormc_handout}
|
||||||
|
|
||||||
|
\usepackage[linguistics]{forest}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\maketitle
|
||||||
|
{Warm-Up: A Familiar Concept}
|
||||||
|
{Prepared by Mark on \today.}
|
||||||
|
|
||||||
|
|
||||||
|
\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
|
||||||
|
|
||||||
|
\end{document}
|
Loading…
x
Reference in New Issue
Block a user