Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Calculate Hyperbolic sine of a value in R Programming – sinh() Function

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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:




# R code to calculate hyperbolic sine of a value
  
# Assigning values to variables
x1 <- -90
x2 <- -30
  
# Using sinh() Function
sinh(x1)
sinh(x2)

Output:

[1] -6.102016e+38
[1] -5.343237e+12

Example 2:




# R code to calculate hyperbolic sine of a value
  
# Assigning values to variables
x1 <- pi
x2 <- pi / 3
  
# Using sinh() Function
sinh(x1)
sinh(x2)

Output:

[1] 11.54874
[1] 1.249367
My Personal Notes arrow_drop_up
Last Updated : 01 Jun, 2020
Like Article
Save Article
Similar Reads