Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

Math.cosh()

2 tags 1 category

The Math.cosh() static method returns the hyperbolic cosine of a number. That is,

𝙼𝚊𝚝𝚑.𝚌𝚘𝚜𝚑(𝚡)=cosh(x)=ex+e−x2mathtt{operatorname{Math.cosh}(x)} = cosh(x) = frac{mathrm{e}^x + mathrm{e}^{-x}}{2}

Because cosh() is a static method of Math, you always use it as Math.cosh(), rather than as a method of a Math object you created (Math is not a constructor).

Syntax example: Math.cosh(x)

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…