Calculate Inverse sine of a value in R Programming – asin() Function

** 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:**

`# R code to calculate inverse sine of a value` ` ` `# Assigning values to variables` `x1 <` `-` `-` `1` `x2 <` `-` `0.5` ` ` `# Using asin() Function` `asin(x1)` `asin(x2)` |

**Output:**

[1] -1.570796 [1] 0.5235988

**Example 2:**

`# R code to calculate inverse sine of a value` ` ` `# Assigning values to variables` `x1 <` `-` `0.224647` `x2 <` `-` `0.8660254` ` ` `# Using asin() Function` `asin(x1)` `asin(x2)` |

**Output:**

[1] 0.2265808 [1] 1.047198