Python math.sinh() Metode
Contoh
Temukan sinus hiperbolik dari bilangan yang berbeda:
# 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))
Definisi dan Penggunaan
Metode math.sinh()
ini mengembalikan sinus hiperbolik suatu bilangan.
Sintaksis
math.sinh(x)
Nilai Parameter
Parameter | Description |
---|---|
x | Required. A number to find the hyperbolic sine of. If the value is not a number, it returns a TypeError |
Detail Teknis
Nilai Kembali: | Nilai float , yang mewakili sinus hiperbolik suatu bilangan |
---|---|
Versi Python: | 1.4 |