Compute the sine value which is multiples of pi in R Programming – sinpi() Function Last Updated : 10 Jun, 2020 Comments Improve Suggest changes Like Article Like Report sinpi() function in R Language is used to compute the sine value of x which is the multiples of pi. Syntax: sinpi(x) Parameters: x: Numeric value, array or vector Example 1: Python3 1== # R program to illustrate # sinpi function # Calling the sinpi() function sinpi(0.5) sinpi(1) Output: [1] 1 [1] 0 Example 2: Python3 1== # R program to illustrate # sinpi function # Calling the sinpi() function sinpi(1 / 4) sinpi(2 / 5) Output: [1] 0.7071068 [1] 0.9510565 Comment More infoAdvertise with us Next Article Compute the sine value which is multiples of pi in R Programming – sinpi() Function N nidhi_biet Follow Improve Article Tags : R Language R Math-Function Similar Reads Compute the tangent value which is multiples of pi in R Programming â tanpi() Function tanpi() function in R Language is used to compute the tangent value of x which is the multiples of pi. Syntax: tanpi(x) Parameters: x: Numeric value, array or vector Example 1: Python3 1== # R program to illustrate # tanpi function # Calling the tanpi() function tanpi(0) tanpi(1 / 4) Output: [1] 0 [ 1 min read Compute the cosine value which is multiples of pi in R Programming - cospi() Function cospi() function in R Language is used to compute the cosine value of x which is the multiples of pi. Syntax: cospi(x) Parameters: x: Numeric value, array or vector Example 1: Python3 # R program to illustrate # cospi function # Calling the cospi() function cospi(0) cospi(1) Output: [1] 1 [1] -1 Exa 1 min read Calculate sine of a value in R Programming - sin() Function sin() function in R Language is used to calculate the sine value of the numeric value passed to it as argument. Syntax: sin(x) Parameter: x: Numeric value Example 1: Python3 1== # R code to calculate sine of a value # Assigning values to variables x1 <- -90 x2 <- -30 # Using sin() Function sin 1 min read Calculate Hyperbolic sine of a value in R Programming - sinh() Function sinh() function in R Language is used to calculate the hyperbolic sine value of the numeric value passed to it as argument. Syntax: sinh(x) Parameter: x: Numeric value Example 1: Python3 1== # R code to calculate hyperbolic sine of a value # Assigning values to variables x1 <- -90 x2 <- -30 # 1 min read 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: Python3 1== # R code to calculate inverse sine of a value # Assigning values to variables x1 <- -1 x2 <- 0.5 # Using a 1 min read Like