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