CosHyp (FPScript)

21.09.2021

Calculates the hyperbolic cosine of a number.

Syntax

CosHyp(Number)

 

The syntax of the CosHyp function consists of the following parts:

Part

Description

Number

The real or complex number for which the hyperbolic cosine is to be calculated.

All data structures are allowed. All numeric data types are permitted.

Remarks

The result has the same structure as the argument Number. The calculation is done element by element where appropriate.

The result has the unit 1, if Number has a unit. Otherwise, it has no unit.

The real hyperbolic cosine function is calculated for a real argument. The result is of the 64-bit floating point value data type. The following illustration shows the course of the function:

If Number is complex, then the complex hyperbolic cosine function is calculated, which can be defined as follows:

(Exp(Number) + Exp(-Number)) / 2

The result is of the complex 64-bit floating point value data type. The following illustration shows the course of the absolute value of the function:

If the argument is a list, then the function is executed for each element of the list and the result is also a list.

Available in

FlexPro Basic, Professional, Developer Suite

Examples

CosHyp(0)

Results in 0.

Dim x
x = Series(-3, 3, 0.1)
Signal(CosHyp(x), x)
 

Calculates a signal with the course of the curve in the interval [-3, 3].

See Also

ArcCos Function

ArcSin Function

ArcTan Function

ArcTan2 Function

Cos Function

Sin Function

SinHyp Function

Tan Function

TanHyp Function

Share article or send as email:

You might be interested in these articles