aboutsummaryrefslogtreecommitdiffstats
path: root/buch/chapters/110-elliptisch/agm/agm.maxima
diff options
context:
space:
mode:
authorNicolas Tobler <nicolas.tobler@ost.ch>2022-08-03 20:37:12 +0200
committerNicolas Tobler <nicolas.tobler@ost.ch>2022-08-03 20:37:12 +0200
commite08392d4bacb9a54c3ab755fa6445514749b608f (patch)
tree67af5a4a6ed541b1b425de89fd05c2a74a265571 /buch/chapters/110-elliptisch/agm/agm.maxima
parentimproved Einleitung (diff)
parentMerge pull request #39 from NaoPross/master (diff)
downloadSeminarSpezielleFunktionen-e08392d4bacb9a54c3ab755fa6445514749b608f.tar.gz
SeminarSpezielleFunktionen-e08392d4bacb9a54c3ab755fa6445514749b608f.zip
Merge branch 'master' of https://github.com/AndreasFMueller/SeminarSpezielleFunktionen
Diffstat (limited to 'buch/chapters/110-elliptisch/agm/agm.maxima')
-rw-r--r--buch/chapters/110-elliptisch/agm/agm.maxima26
1 files changed, 26 insertions, 0 deletions
diff --git a/buch/chapters/110-elliptisch/agm/agm.maxima b/buch/chapters/110-elliptisch/agm/agm.maxima
new file mode 100644
index 0000000..c7facd4
--- /dev/null
+++ b/buch/chapters/110-elliptisch/agm/agm.maxima
@@ -0,0 +1,26 @@
+/*
+ * agm.maxima
+ *
+ * (c) 2022 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule
+ */
+
+S: 2*a*sin(theta1) / (a+b+(a-b)*sin(theta1)^2);
+
+C2: ratsimp(diff(S, theta1)^2 / (1 - S^2));
+C2: ratsimp(subst(sqrt(1-sin(theta1)^2), cos(theta1), C2));
+C2: ratsimp(subst(S, sin(theta), C2));
+C2: ratsimp(subst(sqrt(1-S^2), cos(theta), C2));
+
+D2: (a^2 * cos(theta)^2 + b^2 * sin(theta)^2)
+ /
+ (a1^2 * cos(theta1)^2 + b1^2 * sin(theta1)^2);
+D2: subst((a+b)/2, a1, D2);
+D2: subst(sqrt(a*b), b1, D2);
+D2: ratsimp(subst(1-S^2, cos(theta)^2, D2));
+D2: ratsimp(subst(S, sin(theta), D2));
+D2: ratsimp(subst(1-sin(theta1)^2, cos(theta1)^2, D2));
+
+Q: D2/C2;
+Q: ratsimp(subst(x, sin(theta1), Q));
+
+Q: ratsimp(expand(ratsimp(Q)));