diff options
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/Trigonometry/csc/zcscs.c')
-rw-r--r-- | 2.3-1/src/c/elementaryFunctions/Trigonometry/csc/zcscs.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/zcscs.c b/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/zcscs.c new file mode 100644 index 00000000..c0b692dc --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/zcscs.c @@ -0,0 +1,19 @@ +#include <math.h> +#include "sin.h" +#include "cos.h" +#include "sinh.h" +#include "cosh.h" +#include "csc.h" +#include "doubleComplex.h" +#include "division.h" + +doubleComplex zcscs(doubleComplex z) +{ + doubleComplex out; + //out = zrdivs(DoubleComplex(1,0),zsins(z)); + double real = zreals(z); + double imag = zimags(z); + printf("%d , %d",real,imag); +return zrdivs(1+0*%i,(DoubleComplex(dsins(real) * dcoshs(imag), dcoss(real) * dsinhs(imag)))); + //return out; +} |