Phương thức Python cmath.cosh ()
Thí dụ
Tìm cosin hypebol của một số phức:
#import cmath for complex number operations
import cmath
#find
the hyperbolic cosine of a complex number
print (cmath.cosh(2 + 3j))
Định nghĩa và Cách sử dụng
Phương cmath.cosh()
thức trả về cosin hyperbol của một số phức.
Cú pháp
cmath.cosh(x)
Giá trị tham số
Parameter | Description |
---|---|
x | Required. A number to find the hyperbolic cosine of |
Chi tiết kỹ thuật
Giá trị trả lại: | Một complex giá trị, đại diện cho cosin hyperbol của một số phức |
---|---|
Phiên bản Python: | 1,5 |