iDevOS CALC "ASINH" Command
Get the hyperbolic arc (inverse) sine.
Description
CALC( y, a, "ASINH" ); // y = asinh(a) = hyperbolic arc sine of a CALC( y, a, b, "ASINH" ); // y = asinh(a / b) = hyperbolic arc sine of a divided b
This command returns the angle y
as the hyperbolic arc sine (or hyperbolic inverse sine) of a
. If the divider value b
is specified then a
is divided by b
before the trigonometric calculation is performed.
The angle y
by default is specified in Degrees. Angles used in trigonometric functions can be set globally to use Radians by the SYSTEM.angles
property.
Note: The value passed into the trigonometric function (a
or a
/b
) must be equal to or greater than +1
(inclusive) otherwise a system error will be generated. It is the responsibility of the user to check this.
Trigonometric functions: "COS"
, "SIN"
, "TAN"
, "ACOS"
, "ASIN"
, "ATAN"
, "ATAN2"
, "COSH"
, "SINH"
, "TANH"
, "ACOSH"
, "ASINH"
, "ATANH"
.
Parameters
y
- Calculation result.
Parameter type: entity name of a numeric variable (egU8
,S32
,FLT3
etc). a
andb
- Input values.
Parameter type: immediate number, or entity name of a numeric variable (egU8
,S32
,FLT3
etc). "ASINH"
- CALC command operator.
Parameter type: immediate string.
Examples
Example 1
VAR(df, 0.0, FLT4); // result VAR(af1, 7.071, FLT4); // value VAR(af2, 35.355, FLT4); // value VAR(bf, 5, FLT4); // divider CALC(df, af1, "ASINH"); // df = 152.0694 CALC(df, af2, bf, "ASINH" ); // df = 152.0694