Cot

The function Cot calculates the cotangent of an angle.

Function Group Execution Windows Embedded Thin Client Mobile Access
Tan Trigonometric Synchronous Supported Supported Supported Supported

Syntax

  Cot(numAngle)  
Web Studio Help functions trigonometric cot.xml d451854e111 Cot
numAngle
The angle in radians.
Tip: 2π radians is the same as 360 degrees.

Returned value

This function returns the cotangent of the specified angle.

The function cannot return the actual cotangent of π (i.e., Cot(Pi()) or equivalent), because that is infinite. Instead, the function returns the largest number possible, given the limited precision of the value returned by the function Pi.

Examples

Calculate the cotangent of 1 radian:
  Cot(1)  
Calculate the cotangent of π/2 radians:
  Cot(Pi()/2)  
Calculate the cotangent of the value of the project tag MyAngle:
  Cot(MyAngle)  

Cot