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