Caché MultiValue Basic Reference
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Class Reference   

Returns the hyperbolic sine of an angle.
number An expression that resolves to a number that expresses an angle in degrees.
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.
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