cosh

Calculate the hyperbolic cosine of a number

Usage no npm install needed!

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

README

cosh

Build Status

Calculate the hyperbolic cosine of a number.

Example

var cosh = require('cosh');

cosh(1);
// => 1.5430806348152437

Installation

$ npm install cosh

API

var cosh = require('cosh');

cosh(x)

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