kenany / cosh

Calculate the hyperbolic cosine of a number

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Calculate the hyperbolic cosine of a number

License:MIT License


Languages

Language:JavaScript 100.0%