CommandscothOn this pagecoth coth (num) The coth function returns the hyperbolic cotangent of num: coth(x)=ex+e−xex−e−x.\displaystyle \operatorname{coth}(x)=\frac{e^{x}+e^{-x}}{e^{x}-e^{-x}}.coth(x)=ex−e−xex+e−x. In complex expressions, num is complex, and coth(num) returns a complex value. See Also sinh, cosh, tanh