Python cmath.cosh() Yöntemi
Örnek
Karmaşık bir sayının hiperbolik kosinüsünü bulun:
#import cmath for complex number operations
import cmath
#find
the hyperbolic cosine of a complex number
print (cmath.cosh(2 + 3j))
Tanım ve Kullanım
Yöntem cmath.cosh()
, karmaşık bir sayının hiperbolik kosinüsünü döndürür.
Sözdizimi
cmath.cosh(x)
Parametre Değerleri
Parameter | Description |
---|---|
x | Required. A number to find the hyperbolic cosine of |
Teknik detaylar
Geri dönüş değeri: | complex Karmaşık bir sayının hiperbolik kosinüsünü temsil eden bir değer |
---|---|
Python Sürümü: | 1.5 |