Main Index : Reference :

sinh()


Description

Calculates the hyperbolic sine value (abbreviated sinh) of a variable.

Definition

[float] sinh([float,int] x)

Parameters

x is a numeric value.

Return Value

sinh() returns the hyperbolic sine value of x. This is defined as (ex-e-x)/2. For more information on the hyperbolic sine function, please refer to a math book.

Example

// Outputs "sinh(x) = 3.626860".

var x = 2.0;
var a = sinh(x);

println("sinh(x) = ",a);

See Also

sin(), cosh(), tanh()