coth

Calculate the hyperbolic cotangent of a number

Usage no npm install needed!

<script type="module">
  import coth from 'https://cdn.skypack.dev/coth';
</script>

README

coth

Build Status Dependency Status

Calculate the hyperbolic cotangent of a number.

Example

var coth = require('coth');

coth(Math.PI);
// => 1.0037418731973

Installation

$ npm install coth

API

var coth = require('coth');

coth(x)

Given a Number x, returns the hyperbolic cotangent of x as a Number`.