aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/kugel/images/spherecurve.maxima
diff options
context:
space:
mode:
authorRunterer <37069007+Runterer@users.noreply.github.com>2022-05-26 15:44:34 +0200
committerGitHub <noreply@github.com>2022-05-26 15:44:34 +0200
commit97f9df441a8cf9e86545a7db2e0c1e935937638f (patch)
tree43adb2438e1e316c34997b13bb2d0fa3044f8f1b /buch/papers/kugel/images/spherecurve.maxima
parentadded tikz -> kudos nic (diff)
parentMerge branch 'master' of github.com:AndreasFMueller/SeminarSpezielleFunktionen (diff)
downloadSeminarSpezielleFunktionen-97f9df441a8cf9e86545a7db2e0c1e935937638f.tar.gz
SeminarSpezielleFunktionen-97f9df441a8cf9e86545a7db2e0c1e935937638f.zip
Merge branch 'AndreasFMueller:master' into master
Diffstat (limited to 'buch/papers/kugel/images/spherecurve.maxima')
-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));