Convert "A Familiar Concept" to typst

This commit is contained in:
2025-01-22 21:17:36 -08:00
parent 7b62526a5c
commit 8c12c4681c
2 changed files with 33 additions and 35 deletions

View File

@ -0,0 +1,33 @@
#import "@local/handout:0.1.0": *
#show: handout.with(
title: [Warm-Up: A Familiar Concept],
by: "Mark",
)
#problem()
Let $v = [-5, -2, 0, 1, 4, 1000]$. Find all $x$ that minimize the following metric:
#align(
center,
box(
inset: 3mm,
$
sum_(#sym.forall i) |v_i - x| = |v_1 - x| + |v_2 - x| + ... + |v_6 - x|
$,
),
)
#v(1fr)
#problem()
Let $v = [-5, -2, 0, 1, 4, 1000, 1001]$. Find all $x$ that minimize the metric in the previous problem.
#v(1fr)
#problem()
What is this metric usually called?
#v(0.25fr)