Skip to content
Related Articles

Related Articles

Improve Article
Calculate Hyperbolic sine of a value in R Programming – sinh() Function
  • Last Updated : 01 Jun, 2020

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
Recommended Articles
Page :