Back to functions

cosh


hyperbolic cosine

For numeric values it returns the Math.cosh. In all other cases it returns a symbolic function. Will polyfill.

Usage: nerdamer("cosh(x)")


Parameters

expression x Returns the appropriate value if possible otherwise it returns the function with the simplified expression

Returns

Expression

EXAMPLES:
var r = nerdamer('cosh(0)').evaluate();
console.log(r.toString());
var t = nerdamer('cosh(x)').evaluate()
console.log(t.toString());
var u = nerdamer('cos(E)').evaluate()
console.log(u.toString());
OUTPUT:
Back to functions