Calculate Hyperbolic cosine of a value in R Programming – cosh() Function Improve Improve Like Article Like Save Share Report cosh() function in R Language is used to calculate the hyperbolic cosine value of the numeric value passed to it as the argument. Syntax: cosh(x)Parameter: x: Numeric value Example 1: Python3 # R code to calculate cosine of a value # Assigning values to variables x1 <- 90 x2 <- 30 # Using cosh() Function cosh(x1) cosh(x2) Output: [1] 6.102016e+38 [1] 5.343237e+12 Example 2: Python3 # R code to calculate cosine of a value # Assigning values to variables x1 <- pi x2 <- pi / 3 # Using cosh() Function cosh(x1) cosh(x2) Output: [1] 11.59195 [1] 1.600287 Last Updated : 09 Mar, 2021 Like Article Save Article Previous Rounding off to the ceiling or floor value in R Programming - trunc() Function Next Calculate sine of a value in R Programming - sin() Function Share your thoughts in the comments Add Your Comment Please Login to comment...