summaryrefslogtreecommitdiff
path: root/src/c/elementaryFunctions/Trigonometry/sech/dsechs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/elementaryFunctions/Trigonometry/sech/dsechs.c')
-rw-r--r--src/c/elementaryFunctions/Trigonometry/sech/dsechs.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/c/elementaryFunctions/Trigonometry/sech/dsechs.c b/src/c/elementaryFunctions/Trigonometry/sech/dsechs.c
new file mode 100644
index 0000000..10ca392
--- /dev/null
+++ b/src/c/elementaryFunctions/Trigonometry/sech/dsechs.c
@@ -0,0 +1,10 @@
+#include <math.h>
+#include "sech.h"
+#include "cosh.h"
+#include "cos.h"
+
+
+double dsechs(double in)
+{
+ return (1/cosh(in));
+}