summaryrefslogtreecommitdiff
path: root/site/content/gsoc/differentiating_code_addendum.typ
diff options
context:
space:
mode:
Diffstat (limited to 'site/content/gsoc/differentiating_code_addendum.typ')
-rw-r--r--site/content/gsoc/differentiating_code_addendum.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/content/gsoc/differentiating_code_addendum.typ b/site/content/gsoc/differentiating_code_addendum.typ
index b6dcfa5..9d8bad1 100644
--- a/site/content/gsoc/differentiating_code_addendum.typ
+++ b/site/content/gsoc/differentiating_code_addendum.typ
@@ -5,7 +5,7 @@
date: datetime(year: 2020, month: 7, day: 14),
)
-This post describes how to the compute derivatives mentioned in an #link-self("gsoc/differentiating_code")[earlier post] using Maxima, a computer algebra system. Code is listed in a monospaced font and answers are written directly below, in LaTeX. *Ending lines with dollar signs in Maxima (instead of semicolons) surpresses the output,* which is very useful for definitions.
+This post describes how to compute the derivatives mentioned in an #link-self("gsoc/differentiating_code")[earlier post] using Maxima, a computer algebra system. Code is listed in a monospaced font and answers are written directly below, in LaTeX. *Ending lines with dollar signs in Maxima (instead of semicolons) suppresses the output,* which is very useful for definitions.
Start by defining the reflectance model.
```
@@ -49,4 +49,4 @@ subst(delta_E_, delta_E, %);
$
((b - b_"target") (dif b) / (dif c_0) + (a - a_"target") (dif a) / (dif c_0) + (L - L_"target") (dif L) / (dif c_0)) / (Delta E)
$
-The other derivatives look the same. Simply substitute $c_1$ or $c_2$ for $c_0$ in the expression above to get obtain them.
+The other derivatives look the same. Simply substitute $c_1$ or $c_2$ for $c_0$ in the expression above to obtain them.