Function reference · Trigonometry

cosh

Returns the hyperbolic cosine.

Call evaluate for a decimal value.

Notation

cosh(x)

Write it in an expression: nerdamer('cosh(0)'), or in the Playground.

nerdamer.cosh

nerdamer.cosh(x: ExpressionInput): Expression

A method on the default import. Arguments can be strings, as in Notation.

Examples

Zero.

cosh(0)
// → 1
Open in Playground

A decimal value.

evaluate(cosh(1))
// → 1.5430806348152437785
Open in Playground

With an imaginary argument it is a cosine.

cosh(i*x)
// → cos(x)
Open in Playground

← Back to Function reference