/csch

Calculate the hyperbolic cosecant of a number

Primary LanguageJavaScriptMIT LicenseMIT

csch

Calculate the hyperbolic cosecant of a number.

Example

const csch = require('csch');

csch(Math.PI);
// => 0.08658953753004692

Installation

$ npm install csch

API

const csch = require('csch');

csch(x)

Given a Number x, returns the hyperbolic cosecant of x as a Number.