Python code for ACOSH function in excel

How to plot Y=ACOSH(X) with python code in excel

import math 

import numpy as np

import matplotlib.pyplot as plt

x =np.linspace(1,10000, 1000)

lenx=len(x)

y=[]

for i in range(lenx):     

y.append(math.acosh(x[i]))     

i +=1    

plt.plot(x,y)  

plt.show()

ACOSH function

The ACOSH  function is one of the math functions of Excel.

It returns the inverse hyperbolic cosine of a number.

 ACOSH arguments

This function has just 1 Argument:

The argument of ACOSH function is number.

In the Number section you can enter any real number equal to or greater than 1.

The argument of ACOSH function is required and not optional.

ACOSH(number) = number

Leave a Reply

Your email address will not be published. Required fields are marked *