Documentation moved.This entry is now part of the unified function reference. Open the unified page → API/nerdamer APIFunctionnerdamer.cotsrc/index.ts:752nerdamer.cot(x: ExpressionInput): ExpressionComputes the cotangent of an expression:`cot(x) = cos(x)/sin(x)`. Returns exact values at well-known angles by dividing cos by sin.throwsUndefinedError If`x`is`±∞`or an integer multiple of`π`(where`sin(x) = 0`).ParametersNameTypeDescriptionxExpressionInputThe angle in radians.ReturnsExpression — The cotangent of `x`.Examplescot('pi/4').text() // "1" cot('pi/3').text() // "1/3*sqrt(3)" // Symbolic cot('x').text() // "cot(x)"