nerdamer.cot(x: ExpressionInput): Expression
Computes the cotangent of an expression: cot(x) = cos(x)/sin(x).
Returns exact values at well-known angles by dividing cos by sin.
throwscore!UndefinedError If x is ±∞ or an integer multiple of π (where sin(x) = 0).
Examples
cot('pi/4').text() // "1"
cot('pi/3').text() // "1/3*sqrt(3)"
// Symbolic
cot('x').text() // "cot(x)"