Python math.acoshi()วิธี การ
ตัวอย่าง
ส่งกลับค่าไฮเพอร์โบลิกโคไซน์ผกผันของจำนวนต่างๆ:
# Import math Library
import math
# Return the inverse hyperbolic
cosine of different numbers
print (math.acosh(7))
print (math.acosh(56))
print (math.acosh(2.45))
print (math.acosh(1))
ความหมายและการใช้งาน
วิธี การmath.acosh()
ส่งกลับค่าไฮเพอร์โบลิกโคไซน์ผกผันของตัวเลข
หมายเหตุ:พารามิเตอร์ที่ส่งผ่านใน acoshi() ต้องมากกว่าหรือเท่ากับ 1
ไวยากรณ์
math.acosh(x)
ค่าพารามิเตอร์
Parameter | Description |
---|---|
x | Required. A positive number >= 1. If x is not a number, it returns a TypeError |
รายละเอียดทางเทคนิค
คืนมูลค่า: | ค่า ที่float แทนค่าไฮเพอร์โบลิกโคไซน์ผกผันของ
x |
---|---|
เวอร์ชันหลาม: | 2.6 |