SINH

The SINH function returns the hyperbolic sine of X.

Calling Sequence

Result = SINH( X )

Arguments

X

The angle for which the hyperbolic sine is desired, specified in radians. If X is double-precision floating-point, the result is also double-precision. Complex values are not allowed. All other types are converted to single-precision floating-point and yield floating-point results. SINH is defined as:

sinh x = ( e u - e -u ) / 2

If X is an array, the result has the same structure, with each element containing the hyperbolic sine of the corresponding element of X .

Examples

To find the hyperbolic sine of each element in the array [.5, .2, .4] and print the result, enter:

PRINT, SINH([.5, .2, .4])

To plot the SINH function between 0 and 2 p with 100 intervals, enter:

X = 2*!PI/100 * FINDGEN(100)

PLOT, X, SINH(X)

Note: !PI is a read-only system variable that contains the single-precision value of p .

See Also

ASIN , SIN