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.

Non-numeric values (including dates) are passed through without modifications. This is particularly suitable in combination with vectorization in order to pass through blank contents, explanatory text, etc.

Vectorization: This function supports vectorization in the 1st function parameter. Instead of providing a single value, you can provide a set or even a nested set which contain multiple values. The function will then process every value and its return value contains a corresponding set containing all results.

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
Vectorization is allowed in the 1st function parameter

Parameter count

1

Parameters

No.TypeDescription
1
input
all types
set
Value

Value or set containing multiple values (vectorization)

Return value

TypeDescription
all types
set
Result

Calculated value(s)

Examples

               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