SINH
Description
The sinh function is used to calculate the hyperbolic sine of a given numeric expression. The hyperbolic sine function is a type of hyperbolic function in mathematics, defined as sinh(x) = (ex - e(-x)) / 2, where e is the base of the natural logarithm.
Syntax
Parameters
expr: The numerical expression for which the hyperbolic sine needs to be calculated, of typedouble.
Return Value
Returns the calculated hyperbolic sine value, of type double.
Example
- Calculate
sinh(0):
Results:
- Calculate
sinh(1)andsinh(-1):
Results:
- Calculate
sinh(2)andsinh(-2):
Results:
。
