SINH
SINH(X)This function takes a single argument ‘X’ and returns the hyperbolic sine of ‘X’. ‘X’ is a numeric value expressed in radians.
Section titled “SINH(X)This function takes a single argument ‘X’ and returns the hyperbolic sine of ‘X’. ‘X’ is a numeric value expressed in radians.”- x: Numeric value for which the hyperbolic sine is to be calculated.
Example
Section titled “Example”SELECT SINH(1);Output
Section titled “Output”1.1752011936438014Explanation
Section titled “Explanation”In the code, the SINH function is used to return the hyperbolic sine of a number. The number used in this example is 1, and the output is approximately 1.175, which is the hyperbolic sine of 1.
SINH(double precision) RETURNS double precision
Section titled “SINH(double precision) RETURNS double precision”- double precision: Refers to a binary floating-point number which occupies 8 bytes and provides a precision of at least 15 digits. This is the argument passed to the SINH function. The SINH function returns the hyperbolic sine of this input value.
Example
Section titled “Example”SELECT SINH(0);Output
Section titled “Output”0Explanation
Section titled “Explanation”The SINH function returns the hyperbolic sine of a number. In this example, the SINH function returns 0 as the hyperbolic sine of 0 is 0.
SINH( float_expression )
Section titled “SINH( float_expression )”- float_expression: This parameter refers to an expression of type float or of a type that can implicitly convert to float. Its values must be from -1e+300 to 1e+300 inclusive.
Example
Section titled “Example”SELECT SINH(1) AS HyperbolicSine;Output
Section titled “Output”| HyperbolicSine |
|---|
| 1.1752012 |
Explanation
Section titled “Explanation”The SINH function in SQL Server returns the hyperbolic sine of a specified number. In the above example, the hyperbolic sine of 1 is approximately 1.1752012.
SINH(n NUMBER) RETURN NUMBER;
Section titled “SINH(n NUMBER) RETURN NUMBER;”- n number: This parameter refers to the numeric value for which the Hyperbolic Sine value is to be calculated. This is a compulsory parameter that the user needs to provide when calling the SINH function in Oracle.
Example
Section titled “Example”SELECT SINH(1) AS sinh_valueFROM dual;Output
Section titled “Output”SINH_VALUE----------1.175201194Explanation
Section titled “Explanation”In the example SQL statement, the SINH function is used with the argument of 1. This will return the hyperbolic sine of 1, which is approximately 1.175201194. The SINH function in Oracle calculates the hyperbolic sine of a given number.