Run »
import numpy as np arr = np.array([np.pi/2, np.pi/3, np.pi/4, np.pi/5]) x = np.cosh(arr) print(x)
[2.50917848 1.60028686 1.32460909 1.20397209]