Python cmath.sinh() Metode
Contoh
Temukan sinus hiperbolik dari bilangan kompleks:
#importing cmath for complex number operations
import cmath
#find
the hyperbolic sine of a complex number
print (cmath.sinh(2 + 3j))
Definisi dan Penggunaan
Metode cmath.sinh()
ini mengembalikan sinus hiperbolik dari bilangan kompleks.
Sintaksis
cmath.sinh(x)
Nilai Parameter
Parameter | Description |
---|---|
x | Required. A number to find the hyperbolic sine of |
Detail Teknis
Nilai Kembali: | Nilai complex , yang mewakili sinus hiperbolik dari bilangan kompleks |
---|---|
Versi Python: | 1.5 |