Caché MultiValue Basic Reference
SINH


Returns the hyperbolic sine of an angle.
Synopsis
Arguments
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
Copyright © 19972019 InterSystems Corporation, Cambridge, MA