Calculates the hyperbolic cosine of a value.

Syntax

Result = SRP_Math("COSH", Value, "", DecimalPlaces, ScientificNotation)

Returns

The hyperbolic cosine of Value.

Remarks

The COSH operation computes the hyperbolic cosine of Value. Value can be any number, so no error is generated for this operation. Likewise, the result can be any number.

Example

// Calculate the hyperbolic cosine of Log2 
Val = "0.227064512498507649434129923403947" 
Result = SRP_Math("COSH", Val) 
!! Result = 1.025890097679598043018028045123544 !! 
// Calculate the hyperbolic cosine of PI 
Val = "3.1415926535897932384626433832795" 
Result = SRP_Math("COSH", Val) 
!! Result = 11.5919532755215206277517520525601 !!

 

 

  • No labels