aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/kugel/images/spherecurve.maxima
diff options
context:
space:
mode:
authorNicolas Tobler <nicolas.tobler@ost.ch>2022-05-30 00:06:46 +0200
committerNicolas Tobler <nicolas.tobler@ost.ch>2022-05-30 00:06:46 +0200
commit65a3fc106c36dfd1750f8caf8b3d1b5fb0fe71f9 (patch)
tree30791dc17973690a6d761589de357c452ba9fa29 /buch/papers/kugel/images/spherecurve.maxima
parentAdded content, presentation (diff)
parentbeispiel korrektur (diff)
downloadSeminarSpezielleFunktionen-65a3fc106c36dfd1750f8caf8b3d1b5fb0fe71f9.tar.gz
SeminarSpezielleFunktionen-65a3fc106c36dfd1750f8caf8b3d1b5fb0fe71f9.zip
Merge branch 'master' of https://github.com/AndreasFMueller/SeminarSpezielleFunktionen
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));