3.5.1.2.3 Acot
Contents
Description
The acot(x) function returns the inverse of the corresponding trigonometric function. x can be any value. Values returned are in the first or second quadrant. Returned values are in radians, degrees or gradians, depending upon (which can also be set in ).
Syntax
double acot(double x)
Parameter
x
- is any real number.
Return
Returns the arccotangent of x.
Example
acot(-1)=; //should return 2.3561944901923 acot(-10)=; //should return 3.0419240010986
See Also
, , ,