Python/ref math sinh
来自菜鸟教程
<languages />
Python math.sinh()方法
例
查找不同数字的双曲正弦值:
# Import math Library
import math
# Return the hyperbolic sine of different
values
print(math.sinh(0.00))
print(math.sinh(-23.45))
print(math.sinh(23))
print(math.sinh(1.00))
print(math.sinh(math.pi))
定义和用法
The
math.sinh()
方法返回数字的双曲正弦值。
句法
math.sinh(x)
参数值
| 参数 | 描述 |
|---|---|
| x | 需要。查找双曲正弦的数字。如果该值不是数字,则返回TypeError |
技术细节
| 返回值: | A
|
| Python版本: | 1.4 |