Skip to content
Related Articles

Related Articles

Compute the Hyperbolic arccosine of numeric data in R Programming – acosh() Function
  • Last Updated : 10 Jun, 2020

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:




# R program to illustrate 
# acosh function 
     
# Calling acosh() function over 
# different numbers 
acosh(0
acosh(1

Output:



[1] NaN
[1] 0

Example 2:




# R program to illustrate 
# acosh function 
     
# Calling acosh() function over 
# different numbers 
acosh(3 / 2
acosh(2

Output:

[1] 0.9624237
[1] 1.316958

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :