Caché MultiValue Basic Reference
SINH
[Back] [Next]
   
Server:docs2
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

Returns the hyperbolic sine of an angle.
Synopsis
SINH(number)
Arguments
number An expression that resolves to a number that expresses an angle in degrees.
Description
The SINH function takes an angle in degrees and returns the ratio of two sides of a right triangle. The ratio is the length of the side opposite the angle divided by the length of the hypotenuse.
By default, Caché MVBasic trig functions return results in degrees. To return results in radians, set $OPTIONS RADIANS. The result, in radians, is in the range -1 to 1.
To convert degrees to radians, multiply degrees by pi/180. To convert radians to degrees, multiply radians by 180/pi.
Examples
The following example uses the SINH function to return the hyperbolic sine of an angle:
DIM MyAngle
MyAngle = 1.3;         ! Define angle in degrees.
PRINT SINH(MyAngle);   ! Return hyperbolc sine in radians.
See Also