Python math.exp() နည်းလမ်း
ဥပမာ
မတူညီသော ဂဏန်းများ၏ ပါဝါသို့ မြှင့်ထားသော 'E' ကို ပြန်ပေးပါ။
#Import math Library
import math
#find the exponential of the
specified value
print(math.exp(65))
print(math.exp(-6.89))
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
math.exp()
နည်းလမ်းသည် E ကို x (E x ) ၏ ပါဝါသို့ ပြန်ပေး သည် ။
'E' သည် လောဂရစ်သမ်၏ သဘာဝစနစ်၏ အခြေခံ (ခန့်မှန်းခြေအားဖြင့် 2.718282) ဖြစ်ပြီး x သည် ၎င်းထံသို့ ပေးပို့သော နံပါတ်ဖြစ်သည်။
အထားအသို
math.exp(x)
ကန့်သတ်တန်ဖိုးများ
Parameter | Description |
---|---|
x | Required. Specifies the exponent |
နည်းပညာဆိုင်ရာအသေးစိတ်
ပြန်ပို့တန်ဖိုး- | float 'E' ကိုကိုယ်စားပြုသောတန်ဖိုးသည် x ၏ ပါဝါသို့တက်သွားသည်။ |
---|---|
Python ဗားရှင်း- | ၁.၆.၁ |