Método Python math.sinh()
Exemplo
Encontre o 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))
Definição e uso
O math.sinh()
método retorna o seno hiperbólico de um número.
Sintaxe
math.sinh(x)
Valores de parâmetro
Parameter | Description |
---|---|
x | Required. A number to find the hyperbolic sine of. If the value is not a number, it returns a TypeError |
Detalhes técnicos
Valor de retorno: | Um float valor, representando o seno hiperbólico de um número |
---|---|
Versão do Python: | 1,4 |