Python cmath.acosh() Metode
Contoh
Temukan nilai kosinus busur hiperbolik terbalik dari bilangan kompleks:
#import cmath for complex number operations
import cmath
#find
the hyperbolic arc cosine of a complex number
print (cmath.acos(2 + 3j))
Definisi dan Penggunaan
Metode cmath.acosh()
ini mengembalikan kosinus hiperbolik terbalik dari bilangan kompleks.
Ada satu cabang yang dipotong:
- Memanjang ke kiri dari 1 sepanjang sumbu nyata ke -∞, kontinu dari atas
Sintaksis
cmath.acosh(x)
Nilai Parameter
Parameter | Description |
---|---|
x | Required. The number to find the inverse hyperbolic cosine of |
Detail Teknis
Nilai Kembali: | Suatu complex nilai, yang mewakili kosinus busur hiperbolik terbalik dari suatu bilangan |
---|---|
Versi Python: | 1.5 |