aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/kugel/images/spherecurve.maxima
diff options
context:
space:
mode:
authorJODBaer <55744603+JODBaer@users.noreply.github.com>2022-06-13 09:18:25 +0200
committerGitHub <noreply@github.com>2022-06-13 09:18:25 +0200
commit3010b2b87e56a8e2fbc2476b9971d9ef886f17a0 (patch)
tree9de92825e4293741d7d617d40e661fb5863bb8b9 /buch/papers/kugel/images/spherecurve.maxima
parentMerge branch 'AndreasFMueller:master' into master (diff)
parentflow (diff)
downloadSeminarSpezielleFunktionen-3010b2b87e56a8e2fbc2476b9971d9ef886f17a0.tar.gz
SeminarSpezielleFunktionen-3010b2b87e56a8e2fbc2476b9971d9ef886f17a0.zip
Merge branch 'AndreasFMueller:master' into master
Diffstat (limited to '')
-rw-r--r--buch/papers/kugel/images/spherecurve.maxima13
1 files changed, 13 insertions, 0 deletions
diff --git a/buch/papers/kugel/images/spherecurve.maxima b/buch/papers/kugel/images/spherecurve.maxima
new file mode 100644
index 0000000..1e9077c
--- /dev/null
+++ b/buch/papers/kugel/images/spherecurve.maxima
@@ -0,0 +1,13 @@
+/*
+ * spherecurv.maxima
+ *
+ * (c) 2022 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule
+ */
+f: exp(-a * sin(theta)^2);
+
+g: ratsimp(diff(sin(theta) * diff(f, theta), theta)/sin(theta));
+g: subst(z, cos(theta), g);
+g: subst(sqrt(1-z^2), sin(theta), g);
+ratsimp(g);
+
+f: ratsimp(subst(sqrt(1-z^2), sin(theta), f));