Metoda Python math.sinh().
Příklad
Najděte hyperbolický sinus různých čísel:
# 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))
Definice a použití
Metoda math.sinh()
vrací hyperbolický sinus čísla.
Syntax
math.sinh(x)
Hodnoty parametrů
Parameter | Description |
---|---|
x | Required. A number to find the hyperbolic sine of. If the value is not a number, it returns a TypeError |
Technické údaje
Návratová hodnota: | Hodnota float představující hyperbolický sinus čísla |
---|---|
Verze Pythonu: | 1.4 |