Parameters, Value
Arcsine function calculates the radians of the sine value, the input is [-1,1]
, and the output is [-PI/2, PI/2]
.
Syntax:
- Format: asin(
<sine>
) - Parameters: see table below
- Value: ATTR (number),it should be >= -PI/2 and <= PI/2
Name | Category | Specification | Description |
---|---|---|---|
radian | ATTR(number) | >= -1 and <= 1 | the sine value to be calculated |
Common Usage
Example: calculate the radians of the sine value 0.5
return asin(0.5) * 180 / pi()
Example: calculate the radians of a column of sine value 0.5
uncollect [1, -0.5, 0] as a
return asin(a)