diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-09-25 10:36:23 -0600 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-09-25 10:36:23 -0600 |
commit | 58c73fd511b77cb94124b71a4bb75c7ab6a6d8bc (patch) | |
tree | 25ae52afe365de29973efbb10fdecf2712deb430 /notes/Sep-11.org | |
parent | 2e284b71500a1f8dc6cc46ecf21eb1e9389ea780 (diff) | |
download | cmath-58c73fd511b77cb94124b71a4bb75c7ab6a6d8bc.tar.gz cmath-58c73fd511b77cb94124b71a4bb75c7ab6a6d8bc.zip |
add september notes & hw2 code / pdf
Diffstat (limited to 'notes/Sep-11.org')
-rw-r--r-- | notes/Sep-11.org | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/notes/Sep-11.org b/notes/Sep-11.org index 1568618..3d71f2f 100644 --- a/notes/Sep-11.org +++ b/notes/Sep-11.org @@ -31,17 +31,18 @@ Table of Errors (lizfcm.utils:table (:headers '("u" "v" "e_{abs}" "e_{rel}") :domain-order (u v) :domain-values *u-v*) - (fround (eabs u v) 4) - (fround (erel u v) 4)) + (eabs u v) + (erel u v)) #+END_SRC #+RESULTS: -| u | v | e_{abs} | e_{rel} | -| 1 | 0.99 | 0.0 | 0.0 | -| 1 | 1.01 | 0.0 | 0.0 | -| -1.5 | -1.2 | 0.0 | 0.0 | -| 100 | 99.9 | 0.0 | 0.0 | -| 100 | 99 | 0.0 | 0.0 | +| u | v | e_{abs} | e_{rel} | +| 1 | 0.99 | 0.00999999 | 0.00999999 | +| 1 | 1.01 | 0.00999999 | 0.00999999 | +| -1.5 | -1.2 | 0.29999995 | 0.19999997 | +| 100 | 99.9 | 0.099998474 | 0.0009999848 | +| 100 | 99 | 1 | 1/100 | + Look at $u \approx 0$ then $v \approx 0$, $e_{abs}$ is better error since $e_{rel}$ is high. |