Метод 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))
Определение и использование
Метод math.sinh()
возвращает гиперболический синус числа.
Синтаксис
math.sinh(x)
Значения параметров
Parameter | Description |
---|---|
x | Required. A number to find the hyperbolic sine of. If the value is not a number, it returns a TypeError |
Технические детали
Возвращаемое значение: | Значение float , представляющее гиперболический синус числа |
---|---|
Версия Python: | 1,4 |