Open In App

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

Last Updated : 15 Jul, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report
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: Python3 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: Python3 1==
# 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

Article Tags :

Similar Reads