aboutsummaryrefslogtreecommitdiff
path: root/cosh.pd
diff options
context:
space:
mode:
authorFrank Barknecht <fbar@users.sourceforge.net>2008-11-16 19:26:12 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 14:40:10 +0200
commit56a5f7d890e96ba76606e68f9b1b2ab2ac5a230a (patch)
tree7fee6a9f591b3b1c53d5bafa152f062db1c4ba3e /cosh.pd
parentecc584138a83d36a0738eba12aa6e25f28ea3ddd (diff)
trig functions: sinh, cosh and tanh implemented with exp
svn path=/trunk/abstractions/purepd/; revision=10369
Diffstat (limited to 'cosh.pd')
-rw-r--r--cosh.pd22
1 files changed, 22 insertions, 0 deletions
diff --git a/cosh.pd b/cosh.pd
new file mode 100644
index 0000000..1d8be99
--- /dev/null
+++ b/cosh.pd
@@ -0,0 +1,22 @@
+#N canvas 208 87 450 300 10;
+#X obj 88 37 inlet;
+#X obj 88 87 t a a;
+#X obj 88 223 outlet;
+#X obj 120 116 * -1;
+#X obj 120 136 exp;
+#X obj 88 136 exp;
+#X obj 88 199 * 0.5;
+#X text 323 133 2;
+#X obj 88 174 +;
+#X text 272 105 exp(x) + exp(-x);
+#X text 223 117 cosh = ----------------;
+#X obj 88 64 f \$1;
+#X connect 0 0 11 0;
+#X connect 1 0 5 0;
+#X connect 1 1 3 0;
+#X connect 3 0 4 0;
+#X connect 4 0 8 1;
+#X connect 5 0 8 0;
+#X connect 6 0 2 0;
+#X connect 8 0 6 0;
+#X connect 11 0 1 0;