This documentation is archived and is not being maintained.
sinh Function
Retrieves the hyperbolic sine of a real number.
|
Parameter
|
Description
|
|
_arg
|
The number to calculate the hyperbolic sine for.
Parameter values outside the range of –250 to 250 result in the "Argument for trigonometric function out of range" run-time error.
|
The hyperbolic sine of _arg.
static void sinhExample(Args _arg)
{
real angleDegrees = 45.0;
real angleRadians;
real pi = 3.14;
real r;
;
angleRadians = pi * angleDegrees / 180;
r = sinh(angleRadians);
print "sinh of a "
+ num2Str(angleDegrees, 2, 2, 1, 1)
+ " degree angle is "
+ num2Str(r, 2, 15, 1, 1);
pause;
}