aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/kugel/figures/povray/spherecurve.maxima
diff options
context:
space:
mode:
authorJoshua Baer <joshua.baer@ost.ch>2022-08-19 12:42:35 +0200
committerJoshua Baer <joshua.baer@ost.ch>2022-08-19 12:42:35 +0200
commit9333645ed4f17ff0e565fc68ee1a079a687cf93d (patch)
tree145840c7662b6017bc0dad7aa6cc536e4dcdb70b /buch/papers/kugel/figures/povray/spherecurve.maxima
parentanother parts added (diff)
parentMerge branch 'AndreasFMueller:master' into master (diff)
downloadSeminarSpezielleFunktionen-9333645ed4f17ff0e565fc68ee1a079a687cf93d.tar.gz
SeminarSpezielleFunktionen-9333645ed4f17ff0e565fc68ee1a079a687cf93d.zip
Merge branch 'master' of github.com:JODBaer/SeminarSpezielleFunktionen
Diffstat (limited to 'buch/papers/kugel/figures/povray/spherecurve.maxima')
-rw-r--r--buch/papers/kugel/figures/povray/spherecurve.maxima13
1 files changed, 13 insertions, 0 deletions
diff --git a/buch/papers/kugel/figures/povray/spherecurve.maxima b/buch/papers/kugel/figures/povray/spherecurve.maxima
new file mode 100644
index 0000000..1e9077c
--- /dev/null
+++ b/buch/papers/kugel/figures/povray/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));