Python math.sinh() Method
ตัวอย่าง
ค้นหาไฮเปอร์โบลิกไซน์ของจำนวนต่างๆ:
# 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))
ความหมายและการใช้งาน
วิธี การmath.sinh()
ส่งกลับค่าไฮเปอร์โบลิกไซน์ของตัวเลข
ไวยากรณ์
math.sinh(x)
ค่าพารามิเตอร์
Parameter | Description |
---|---|
x | Required. A number to find the hyperbolic sine of. If the value is not a number, it returns a TypeError |
รายละเอียดทางเทคนิค
คืนมูลค่า: | ค่า ที่float แทนค่าไฮเปอร์โบลิกไซน์ของจำนวน |
---|---|
เวอร์ชันหลาม: | 1.4 |