Méthode Python math.atanh()
Exemple
Trouvez la valeur de l'arc tangente hyperbolique de différents nombres :
#Import math Library
import math
#print the hyperbolic
arctangent of different numbers
print(math.atanh(0.59))
print(math.atanh(-0.12))
Définition et utilisation
La math.atanh()
méthode renvoie la tangente hyperbolique inverse d'un nombre.
Remarque : Le paramètre transmis math.atanh()
doit être compris entre -0,99 et 0,99.
Syntaxe
math.atanh(x)
Valeurs des paramètres
Parameter | Description |
---|---|
x | Required. A positive or negative number between -0.99 and 0.99. If x is not a number, it returns a TypeError |
Détails techniques
Valeur de retour : | Une float valeur, représentant la tangente hyperbolique inverse d'un nombre |
---|---|
Version Python : | 2.6 |