Python math.atan() နည်းလမ်း
ဥပမာ
မတူညီသော ဂဏန်းများ၏ အကွေးပိုင်းတန်ဂျန့်ကို ပြန်ပေးပါ။
#Import math Library
import math
#fReturn the arc tangent of
different numbers
print (math.atan(0.39))
print (math.atan(67))
print (math.atan(-21))
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
နည်းလမ်းသည် -PI/2 နှင့် PI/2 radian အကြား ကိန်းဂဏာန်းတန်ဖိုးအဖြစ် နံပါတ် ( xmath.atan()
) ၏ arc တန်းဂျင့်ကို ပြန်ပေးသည် ။
Arc tangent ကို x ၏ inverse tangent လုပ်ဆောင်ချက်အဖြစ်လည်း သတ်မှတ်ပြီး x သည် arc tangent ၏တန်ဖိုးကို တွက်ချက်ရမည်ဖြစ်သည်။
အထားအသို
math.atan(x)
ကန့်သတ်တန်ဖိုးများ
Parameter | Description |
---|---|
x | Required. A positive or negative number. If x is not a number, it returns error a TypeError |
နည်းပညာဆိုင်ရာအသေးစိတ်
ပြန်ပို့တန်ဖိုး- | တန်ဖိုး တစ်ခု float ၊ -PI/2 မှ PI/2 သည် နံပါတ်တစ်ခု၏ arc tangent ကိုကိုယ်စားပြုသည်။ |
---|---|
Python ဗားရှင်း- | ၁.၆.၁ |