cosh
v2.0.0
Published
Calculate the hyperbolic cosine of a number
Downloads
18
Readme
cosh
Calculate the hyperbolic cosine of a number.
Example
const cosh = require('cosh');
cosh(1);
// => 1.5430806348152437
Installation
$ npm install cosh
API
const cosh = require('cosh');
cosh(x)
Given a Number x
, returns the hyperbolic cosine of x
as a Number.