From 42ee3d03676af1321601a960b223d9b9cd9a698f Mon Sep 17 00:00:00 2001 From: Andrew Lin Date: Tue, 16 Aug 2022 19:40:20 -0700 Subject: [PATCH] Update variables.qmd --- quarto/precalc/variables.qmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quarto/precalc/variables.qmd b/quarto/precalc/variables.qmd index 86f5e22..2ddb04b 100644 --- a/quarto/precalc/variables.qmd +++ b/quarto/precalc/variables.qmd @@ -217,7 +217,7 @@ Julia allows variable names to use Unicode identifiers. Such names allow `julia` ϵ = 1e-10 ``` -Entering Unicode names follows the pattern of "slash" + LaTeX name + `[tab]` key. Some other ones that are useful are `\delta[tab]`, `\alpha[tab]`, and `\beta[tab]`, though there are [hundreds](https://github.com/JuliaLang/julia/blob/master/stdlib/REPL/src/latex_symbols.jl) of other values defined. +Entering Unicode names follows the pattern of "backslash" + LaTeX name + `[tab]` key. Some other ones that are useful are `\delta[tab]`, `\alpha[tab]`, and `\beta[tab]`, though there are [hundreds](https://github.com/JuliaLang/julia/blob/master/stdlib/REPL/src/latex_symbols.jl) of other values defined. For example, we could have defined `theta` (`\theta[tab]`) and `v0` (`v\_0[tab]`) using Unicode to make them match more closely the typeset math: @@ -318,7 +318,7 @@ Let `x = 4`. Compute $y=100 - 2x - x^2$. What is the value: #| hold: true #| echo: false x = 4 -y =- 100 - 2x - x^2 +y = 100 - 2x - x^2 numericq(y, 0.1) ```