Convert "fmod" to typst
This commit is contained in:
parent
6d56a00622
commit
6197bdb220
@ -1,22 +0,0 @@
|
|||||||
\documentclass[
|
|
||||||
solutions,
|
|
||||||
hidewarning,
|
|
||||||
singlenumbering,
|
|
||||||
nopagenumber
|
|
||||||
]{../../../lib/tex/ormc_handout}
|
|
||||||
\usepackage{../../../lib/tex/macros}
|
|
||||||
|
|
||||||
|
|
||||||
\title{Warm-Up: \texttt{fmod}}
|
|
||||||
\uptitler{\smallurl{}}
|
|
||||||
\subtitle{Prepared by Mark on \today.}
|
|
||||||
|
|
||||||
\begin{document}
|
|
||||||
|
|
||||||
\maketitle
|
|
||||||
|
|
||||||
\problem{}
|
|
||||||
I'm sure you're all familiar with how \texttt{mod(a, b)} and \texttt{remainder(a, b)} work with integers. \par
|
|
||||||
Devise an equivalent for floats (i.e, real numbers).
|
|
||||||
|
|
||||||
\end{document}
|
|
16
src/Warm-Ups/fmod/main.typ
Normal file
16
src/Warm-Ups/fmod/main.typ
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#import "@local/handout:0.1.0": *
|
||||||
|
|
||||||
|
#show: doc => handout(
|
||||||
|
doc,
|
||||||
|
quarter: link(
|
||||||
|
"https://betalupi.com/handouts",
|
||||||
|
"betalupi.com/handouts",
|
||||||
|
),
|
||||||
|
|
||||||
|
title: [Warm-Up: `fmod`],
|
||||||
|
by: "Mark",
|
||||||
|
)
|
||||||
|
|
||||||
|
#problem()
|
||||||
|
I'm sure you're all familiar with how `mod(a, b)` and `remainder(a, b)` \ work when `a` and `b` are integers.
|
||||||
|
Devise an equivalent for floats (i.e, real numbers).
|
Loading…
x
Reference in New Issue
Block a user