Python math.cosh() နည်းလမ်း
ဥပမာ
မတူညီသော ကိန်းဂဏာန်းများ၏ ဟိုက်ပါဘောလစ် ကိုစင်ကို ရှာပါ-
# Import math Library
import math
# Return the hyperbolic cosine of
different numbers
print (math.cosh(1))
print (math.cosh(8.90))
print (math.cosh(0))
print (math.cosh(1.52))
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
နည်းလမ်းသည် နံပါတ်တစ်ခု၏ ဟိုက်ပါ ဘော math.cosh()
လစ်ကိုစင် (((exp(နံပါတ်)) + exp(-number)) / 2) ကို ပြန်ပေးသည်။
အထားအသို
math.cosh(x)
ကန့်သတ်တန်ဖိုးများ
Parameter | Description |
---|---|
x | Required. A number to find the hyperbolic cosine of. If the value is not a number, it returns a TypeError |
နည်းပညာဆိုင်ရာအသေးစိတ်
ပြန်ပို့တန်ဖိုး- | float ကိန်းတစ်ခု၏ ဟိုက်ပါဘောလစ် ကိုစင်ကို ကိုယ်စားပြု သည့် တန်ဖိုး |
---|---|
Python ဗားရှင်း- | ၁.၄ |