Calculate Inverse sine of a value in R Programming – asin() Function
Last Updated :
01 Jun, 2020
asin()
function in R Language is used to calculate the inverse sine value of the numeric value passed to it as argument.
Syntax: asin(x)
Parameter:
x: Numeric value
Example 1:
x1 < - - 1
x2 < - 0.5
asin(x1)
asin(x2)
|
Output:
[1] -1.570796
[1] 0.5235988
Example 2:
x1 < - 0.224647
x2 < - 0.8660254
asin(x1)
asin(x2)
|
Output:
[1] 0.2265808
[1] 1.047198
Share your thoughts in the comments
Please Login to comment...