amath  1.8.5
Simple command line calculator
exc.c File Reference

Excosecant function. More...

#include "prim.h"
Include dependency graph for exc.c:

Go to the source code of this file.

Functions

double exc (double x)
 Excosecant function. More...
 

Detailed Description

Excosecant function.

Definition in file exc.c.

Function Documentation

◆ exc()

double exc ( double  x)

Excosecant function.

excsc(x) = csc(x)-1
         = (1-sin(x))/sin(x)
         = cvs(x)/sin(x)
         = cvs(x)*csc(x)

Definition at line 47 of file exc.c.

References csc(), and cvs().

Referenced by RealNumber::ExCosecant().

48 {
49  return cvs(x) * csc(x);
50 }
double csc(double x)
Cosecant function.
Definition: csc.c:45
double cvs(double x)
Coversed sine function.
Definition: cvs.c:44
Here is the call graph for this function:
Here is the caller graph for this function: