Python/ref cmath cosh
来自菜鸟教程
<languages />
Python cmath.cosh()方法
例
查找复数的双曲余弦:
#import cmath for complex number operations
import cmath
#find
the hyperbolic cosine of a complex number
print (cmath.cosh(2 + 3j))
定义和用法
The
cmath.cosh()
方法返回复数的双曲余弦值。
句法
cmath.cosh(x)
参数值
| 参数 | 描述 |
|---|---|
| x | 需要。找到一个双曲余弦的数字 |
技术细节
| 返回值: | A
|
| Python版本: | 1.5 |