aboutsummaryrefslogtreecommitdiffstats
path: root/buch/chapters/030-geometrie/trigo/3.m
diff options
context:
space:
mode:
authorAndreas Müller <andreas.mueller@ost.ch>2021-12-23 22:52:31 +0100
committerAndreas Müller <andreas.mueller@ost.ch>2021-12-23 22:52:31 +0100
commita97ba371f257ffcb29467142d00c59c4fe7205df (patch)
treedbcf49f4f56531b33e16c3866ac9bdf9ac916c10 /buch/chapters/030-geometrie/trigo/3.m
parenttypo (diff)
downloadSeminarSpezielleFunktionen-a97ba371f257ffcb29467142d00c59c4fe7205df.tar.gz
SeminarSpezielleFunktionen-a97ba371f257ffcb29467142d00c59c4fe7205df.zip
more trigo stuff
Diffstat (limited to 'buch/chapters/030-geometrie/trigo/3.m')
-rw-r--r--buch/chapters/030-geometrie/trigo/3.m13
1 files changed, 13 insertions, 0 deletions
diff --git a/buch/chapters/030-geometrie/trigo/3.m b/buch/chapters/030-geometrie/trigo/3.m
new file mode 100644
index 0000000..a1f8ed1
--- /dev/null
+++ b/buch/chapters/030-geometrie/trigo/3.m
@@ -0,0 +1,13 @@
+format long
+
+s15 = sqrt((2-sqrt(3))/4)
+c15 = sqrt((2+sqrt(3))/4)
+
+s36 = sqrt((5-sqrt(5))/8)
+c36 = sqrt((3+sqrt(5))/8)
+
+s18 = sqrt(1/2-c36/2)
+c18 = sqrt(1/2+c36/2)
+
+s3 = s18 * c15 - c18 * s15
+c3 = c18 * c15 + s18 * s15