Cot Function
Returns the cotangent of the specified angle
Description
The Function \(Cot\) returns the cotangent of real or complex numbers. The argument can be a single number or a data field. For data fields, the cotangent of each element is calculated and the results returned in a data field of equal size.
Cot for real numbers
Parameter
The angle is given in degrees (> -180° ... < 180°) or radians (> -π ... < π) and not equal to 0. The unit of measurement is set in the toolbar with the DEG or RAD buttons. The Setting applies to the entire worksheet.
Result
If the value of the parameter is 0, the result is infinite.
Optional Parameter
Optionally, a second parameter with the keywords DEG or RAD can be specified to set the unit of measure for this function call. The specification of the parameter has priority over the global setting in the toolbar. For different functions, you can use different units of measurement regardless of the default setting in the toolbar.
Syntax
Cot (x)
Cot (x, rad)
Cot (x, deg)
Example
Cot for complex numbers
For complex numbers, the argument and the result is always given as radian, regardless of the default setting in the toolbar. The result is also a complex number.
Syntax
Cot(x + i)
Example
Cot(2+3i)=-0.00374-0.997i