kenany / cosh

Calculate the hyperbolic cosine of a number
MIT License
0 stars 0 forks source link

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.