aboutsummaryrefslogtreecommitdiffstats
path: root/buch/chapters/110-elliptisch/agm.m
diff options
context:
space:
mode:
authorAndreas Müller <andreas.mueller@ost.ch>2022-06-25 22:46:16 +0200
committerAndreas Müller <andreas.mueller@ost.ch>2022-06-25 22:46:16 +0200
commit335c3a23f09759be380291ec89b0f2c43c2d3db6 (patch)
tree45ae6ea45c9e911479dfdd791498ce2c6fb61663 /buch/chapters/110-elliptisch/agm.m
parentarithmetic-geometric-mean (diff)
downloadSeminarSpezielleFunktionen-335c3a23f09759be380291ec89b0f2c43c2d3db6.tar.gz
SeminarSpezielleFunktionen-335c3a23f09759be380291ec89b0f2c43c2d3db6.zip
fix agm
Diffstat (limited to 'buch/chapters/110-elliptisch/agm.m')
-rw-r--r--buch/chapters/110-elliptisch/agm.m20
1 files changed, 0 insertions, 20 deletions
diff --git a/buch/chapters/110-elliptisch/agm.m b/buch/chapters/110-elliptisch/agm.m
deleted file mode 100644
index 2f0a1ea..0000000
--- a/buch/chapters/110-elliptisch/agm.m
+++ /dev/null
@@ -1,20 +0,0 @@
-#
-# agm.m
-#
-# (c) 2022 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule
-#
-format long
-
-n = 10;
-a = 1;
-b = sqrt(0.5);
-
-for i = (1:n)
- printf("%20.16f %20.16f\n", a, b);
- A = (a+b)/2;
- b = sqrt(a*b);
- a = A;
-end
-
-E = 2 / (pi * a)
-