Hyperbolic Functions

Prev Next

Function Names

sinh, cosh, tanh, asinh, acosh, atanh

Description

All common trigonometric functions are supported. The function names ending with deg use angle measures in degrees and not in radians.

Function Function description
sinh Hyperbolic sine
cosh Hyperbolic cosine
tanh Hyperbolic tangent
asinh Hyperbolic arcsine (inverse hyperbolic sine / areasinus hyperbolicus)
acosh Hyperbolic arccosine (inverse hyperbolic cosine / areacosinus hyperbolicus)
atanh Hyperbolic arctangent (inverse hyperbolic tangent / areatangens hyperbolicus)

Call as: function

Restrictions

Indirect parameter passing is disabled

Parameter count

1

Parameters

No.TypeDescription
1
input
numeral Value

Value to be raised to the power exponent

Return value

TypeDescription
numeral Result

Calculated value

Exceptions

For selected functions (e.g. asinh): Values are outside valid range

Examples

      pi[] = asin(1)*2;
      echo( sinh(1) );
      echo( tanh(9999) );

Output

1.1752011936
1
Try it yourself: Open LIB_Function_sinh.b4p in B4P_Examples.zip. Decompress before use.

See also

Trigonometric Functions