Méthode Python math.sinh()
Exemple
Trouver le sinus hyperbolique de différents nombres :
# 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))
Définition et utilisation
La math.sinh()
méthode renvoie le sinus hyperbolique d'un nombre.
Syntaxe
math.sinh(x)
Valeurs des paramètres
Parameter | Description |
---|---|
x | Required. A number to find the hyperbolic sine of. If the value is not a number, it returns a TypeError |
Détails techniques
Valeur de retour : | Une float valeur, représentant le sinus hyperbolique d'un nombre |
---|---|
Version Python : | 1.4 |