Open In App

Compute the Hyperbolic arccosine of numeric data in R Programming – acosh() Function

Last Updated : 10 Jun, 2020
Comments
Improve
Suggest changes
Like Article
Like
Report
acosh() function in R Language is used to compute the hyperbolic arccosine of numeric data.
Syntax:acosh(x) Parameters: x: Numeric value, array or vector
Example 1: Python3 1==
# R program to illustrate 
# acosh function 
   
# Calling acosh() function over 
# different numbers 
acosh(0) 
acosh(1) 
Output:
[1] NaN
[1] 0
Example 2: Python3 1==
# R program to illustrate 
# acosh function 
   
# Calling acosh() function over 
# different numbers 
acosh(3 / 2) 
acosh(2) 
Output:
[1] 0.9624237
[1] 1.316958

Next Article
Article Tags :

Similar Reads