Python math.erfc() နည်းလမ်း
ဥပမာ
မတူညီသောနံပါတ်များအတွက် ဖြည့်စွက်အမှားအယွင်းလုပ်ဆောင်ချက်ကို ပရင့်ထုတ်ပါ-
# Import math Library
import math
# Print complementary error function
for different numbers
print (math.erfc(0.67))
print (math.erfc(1.34))
print
(math.erfc(-6))
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
နည်းလမ်းသည် နံပါတ် တစ်ခု၏ math.erfc()
ဖြည့်စွက်အမှားလုပ်ဆောင်ချက်ကို ပြန်ပေးသည်။
ဤနည်းလမ်းသည် - inf နှင့် + inf အကြားတန်ဖိုးကို လက်ခံပြီး 0 နှင့် 2 ကြားတန်ဖိုးကို ပြန်ပေးသည်။
အထားအသို
math.erfc(x)
ကန့်သတ်တန်ဖိုးများ
Parameter | Description |
---|---|
x | Required. A number to find the complementary error function of |
နည်းပညာဆိုင်ရာအသေးစိတ်
ပြန်ပို့တန်ဖိုး- | float ဂဏန်းတစ်ခု၏ ဖြည့်စွက်အမှားလုပ်ဆောင်ချက်ကို ကိုယ်စားပြု သည့် တန်ဖိုး |
---|---|
Python ဗားရှင်း- | ၃.၂ |