summaryrefslogtreecommitdiff
path: root/src/c/elementaryFunctions/Trigonometry/cscd/dcscds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/elementaryFunctions/Trigonometry/cscd/dcscds.c')
-rw-r--r--src/c/elementaryFunctions/Trigonometry/cscd/dcscds.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/c/elementaryFunctions/Trigonometry/cscd/dcscds.c b/src/c/elementaryFunctions/Trigonometry/cscd/dcscds.c
new file mode 100644
index 0000000..d9a0df9
--- /dev/null
+++ b/src/c/elementaryFunctions/Trigonometry/cscd/dcscds.c
@@ -0,0 +1,11 @@
+#include "cscd.h"
+#include <math.h>
+
+double dcscds(double in)
+{
+ double val;
+ val = (M_PI) / 180.0;
+ double out;
+ out=1/sin(in*val);
+ return out;
+}