Ch

This function returns the hyperbolic cosine of a specified number.

Syntax

ch(EXP_NUM)
  • EXP_NUM is an expression that returns a numeric value.

Examples

RESULT=ch(0.5) : # 1.127626

Comments

This function can be calculated by the following formula:

ch(x)=(exp(x)+exp(-x))/2

Where exp is the exponential function.

The type of result is Double.

Associated errors

Error codeDescription
10The argument is not numeric.
13Calculation overflow (x is too large).

See also

ach, ash, ath, sh,th, ln, sqr.