Python - cmath.cosh() function Last Updated : 28 May, 2020 Comments Improve Suggest changes Like Article Like Report cMath module contains a number of functions which is used for mathematical operations for complex numbers. The cmath.cosh() function returns the hyperbolic cosine value of a complex number. The value passed in this function can be int, float, and complex numbers. Syntax: cmath.cosh(x) Parameter:This method accepts only single parameters. x :This parameter is the value to be passed to cosh() Returns:This function returns the hyperbolic cosine value of a complex number. Below examples illustrate the use of above function: Example #1 : In this example we can see that by using cmath.cosh() method, we are able to get the values of hyperbolic cosine by passing any value to it. Python3 # Python code to implement # the cosh()function # importing "cmath" # for mathematical operations import cmath # using cmath.cosh() method val = cmath.cosh(3) print(val) Output: (10.067661995777765+0j) Example 2: Python3 # Python code to implement # the cosh()function # importing "cmath" # for mathematical operations import cmath # using cmath.cosh() method val = cmath.cosh(2 + 5j) print(val) Output: (2.37054853731792+1.184231684275022j) Comment More infoAdvertise with us Next Article Python - cmath.cosh() function S SHUBHAMSINGH10 Follow Improve Article Tags : Python Python math-library-functions Python Cmath-library Practice Tags : python Similar Reads Python - cmath.cos() function cMath module contains a number of functions which is used for mathematical operations for complex numbers. The cmath.cos() function returns the cosine value of a complex number. The value passed in this function can be int, float, and complex numbers. Syntax: cmath.cos(x) Parameter:This method accep 1 min read Python - cmath.atanh() function cMath module contains a number of functions which is used for mathematical operations for complex numbers. The cmath.atanh() function returns the inverse hyperbolic arctangent value of a complex number. The value passed in this function can be int, float, and complex numbers. Syntax: cmath.atanh(x) 1 min read Python - cmath.sin() function cmath is Python built-in module that is used for complex number mathematics. cmath module has a method sin() that returns sine of the complex number passed to it. Syntax: cmath.sin(Z) Parameter: It requires only one parameter i.e the number for which sine needs to be calculated. Return: Returns a co 1 min read Python - cmath.tan() function cmath is Python built-in module that is used for complex number mathematics. cmath module has a method tan() that returns tangent of the complex number passed to it. Syntax: cmath.tan(Z) Parameter: It requires only one parameter i.e the number for which tangent needs to be calculated. Return: Return 1 min read Python - cmath.sinh() function cmath is python built-in module that is used for complex number mathematics. cmath module has a method sinh() that returns hyperbolic sine of the complex number passed to it. Syntax: cmath.sinh(Z) Parameter: It requires only one parameter i.e the number for which hyperbolic sine needs to be calculat 1 min read Like