From 75829b4561bd4225e97dba824f3d58d33fd4340a Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:34:18 -0700 Subject: [PATCH] Fixes in 2006 html files and some of 2011 --- 2006/monge/README.md | 30 +++++---- 2006/monge/index.html | 45 +++++++++---- 2006/night/README.md | 2 +- 2006/night/index.html | 2 +- 2006/sloane/README.md | 10 +-- 2006/sloane/index.html | 10 +-- 2006/stewart/README.md | 18 +++-- 2006/stewart/index.html | 22 ++++-- 2006/sykes2/README.md | 2 +- 2006/sykes2/index.html | 2 +- 2006/toledo2/README.md | 99 +++++++++++++++++---------- 2006/toledo2/index.html | 145 +++++++++++++++++++++++++++++++++------- 2006/toledo3/README.md | 12 ++-- 2006/toledo3/index.html | 12 ++-- 2011/dlowe/README.md | 10 +-- 2011/dlowe/index.html | 10 +-- bugs.html | 51 +++++++------- bugs.md | 49 +++++++------- 18 files changed, 349 insertions(+), 182 deletions(-) diff --git a/2006/monge/README.md b/2006/monge/README.md index 47dca022f..b93d960a7 100644 --- a/2006/monge/README.md +++ b/2006/monge/README.md @@ -147,20 +147,24 @@ as you like (as understood by the C function `isspace()`). Supported operations and functions are: -``` - Operation | Description +- `+`, `-`, `*`, `/` + - Arithmetic operations, priority of * , / over +,- is respected. +- `<,>` + - Compares the real parts of two complex numbers (the imaginary part + is ignored). Any number of conditions is allowed, the iteration will + just stop as soon as one of them fails. +- `Abs2` + - Calculates the squared norm, i.e.: `Abs2(a+b*i)` is `(a*a+b*b)+0*i`. +- `Re` + - Extract the real part, i.e.: `Re(a+b*i)` is `a+0*i`. +- `Im` + - Extract the imaginary part, i.e.: `Im(a+b*i)` is` b+0*i`. +- `Exp` + - Calculates the complex exponential, i.e. `Exp(a+b*i)` is `e^a*(cos(b)+sin(b)*i)`. - +,-,*,/ | Arithmetic operations, priority of * , / over +,- is respected. - <,> | Compares the real parts of two complex numbers (the imaginary part - | is ignored). Any number of conditions is allowed, the iteration will - | just stop as soon as one of them fails. - Abs2 | Calculates the squared norm, i.e.: Abs2(a+b*i) is (a*a+b*b)+0*i. - Re | Extract the real part, i.e.: Re(a+b*i) is a+0*i. - Im | Extract the imaginary part, i.e.: Im(a+b*i) is b+0*i. - Exp | Calculates the complex exponential, i.e. Exp(a+b*i) is e^a*(cos(b)+sin(b)*i). - Ln | Calculates the principal value of the natural logarithm - | i.e. Ln(a+b*i) is ln(a*a+b*b)/2 + atan(b/a)*i. -``` +- `Ln` + - Calculates the principal value of the natural logarithm i.e. `Ln(a+b*i)` + is `ln(a*a+b*b)/2 + atan(b/a)*i`. Here are a few examples of fractals you can draw: diff --git a/2006/monge/index.html b/2006/monge/index.html index d469ec8e6..83f429fbf 100644 --- a/2006/monge/index.html +++ b/2006/monge/index.html @@ -491,18 +491,39 @@ expression must be an assignment ([variable] = [expr]) or a compari < or > ([expr1] < [expr2] or [expr1] > [expr2]), and you can add spaces as you like (as understood by the C function isspace()).

Supported operations and functions are:

-
    Operation | Description
-
-     +,-,*,/  | Arithmetic operations, priority of  * , /  over  +,-  is respected.
-     <,>      | Compares the real parts of two complex numbers (the imaginary part
-              | is ignored). Any number of conditions is allowed, the iteration will
-              | just stop as soon as one of them fails.
-     Abs2     | Calculates the squared norm, i.e.: Abs2(a+b*i) is (a*a+b*b)+0*i.
-     Re       | Extract the real part, i.e.: Re(a+b*i) is a+0*i.
-     Im       | Extract the imaginary part, i.e.: Im(a+b*i) is b+0*i.
-     Exp      | Calculates the complex exponential, i.e. Exp(a+b*i) is e^a*(cos(b)+sin(b)*i).
-     Ln       | Calculates the principal value of the natural logarithm
-              | i.e.  Ln(a+b*i) is ln(a*a+b*b)/2 + atan(b/a)*i.
+

Here are a few examples of fractals you can draw: