Python math.sinh() Metodo
Esempio
Trova il seno iperbolico di numeri diversi:
# 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))
Definizione e utilizzo
Il math.sinh()
metodo restituisce il seno iperbolico di un numero.
Sintassi
math.sinh(x)
Valori dei parametri
Parameter | Description |
---|---|
x | Required. A number to find the hyperbolic sine of. If the value is not a number, it returns a TypeError |
Dettagli tecnici
Valore di ritorno: | Un float valore, che rappresenta il seno iperbolico di un numero |
---|---|
Versione Python: | 1.4 |