module Math # Cotangens hyperbolicus of +x+ def self.coth(x) 1.0 / tanh(x) end end