Python - Methode cmath.sinh()
Beispiel
Finden Sie den hyperbolischen Sinus einer komplexen Zahl:
#importing cmath for complex number operations
import cmath
#find
the hyperbolic sine of a complex number
print (cmath.sinh(2 + 3j))
Definition und Verwendung
Die cmath.sinh()
Methode gibt den hyperbolischen Sinus einer komplexen Zahl zurück.
Syntax
cmath.sinh(x)
Parameterwerte
Parameter | Description |
---|---|
x | Required. A number to find the hyperbolic sine of |
Technische Details
Rückgabewert: | Ein complex Wert, der den hyperbolischen Sinus einer komplexen Zahl darstellt |
---|---|
Python-Version: | 1.5 |