Python cmath.sinh()メソッド
例
複素数の双曲線正弦を見つけます。
#importing cmath for complex number operations
import cmath
#find
the hyperbolic sine of a complex number
print (cmath.sinh(2 + 3j))
定義と使用法
このcmath.sinh()
メソッドは、複素数の双曲線正弦を返します。
構文
cmath.sinh(x)
パラメータ値
Parameter | Description |
---|---|
x | Required. A number to find the hyperbolic sine of |
技術的な詳細
戻り値: | complex 複素数の双曲線正弦を表す値 |
---|---|
Pythonバージョン: | 1.5 |