Python math.sinh() Metode
Voorbeeld
Vind die hiperboliese sinus van verskillende getalle:
# 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))
Definisie en gebruik
Die math.sinh()
metode gee die hiperboliese sinus van 'n getal terug.
Sintaksis
math.sinh(x)
Parameterwaardes
Parameter | Description |
---|---|
x | Required. A number to find the hyperbolic sine of. If the value is not a number, it returns a TypeError |
Tegniese besonderhede
Terugkeerwaarde: | 'n float Waarde wat die hiperboliese sinus van 'n getal voorstel |
---|---|
Python weergawe: | 1.4 |