Método Python math.sinh()
Ejemplo
Encuentra el seno hiperbólico de diferentes números:
# 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))
Definición y uso
El math.sinh()
método devuelve el seno hiperbólico de un número.
Sintaxis
math.sinh(x)
Valores paramétricos
Parameter | Description |
---|---|
x | Required. A number to find the hyperbolic sine of. If the value is not a number, it returns a TypeError |
Detalles técnicos
Valor devuelto: | Un float valor, que representa el seno hiperbólico de un número. |
---|---|
Versión de Python: | 1.4 |