Python cmath.tan() နည်းလမ်း
ဥပမာ
ရှုပ်ထွေးသောနံပါတ်တစ်ခု၏ တန်းဂျင့်ကိုရှာပါ-
#Import cmath Library
import cmath
#Return the tangent of a
complex number
print (cmath.tan(2 + 3j))
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
နည်းလမ်းသည် ရှုပ်ထွေးသောနံပါတ်တစ်ခု၏ တန်း ဂျ cmath.tan()
င့်ကို ပြန်ပေးသည်။
အထားအသို
cmath.tan(x)
ကန့်သတ်တန်ဖိုးများ
Parameter | Description |
---|---|
x | Required. A number to find the tangent of. If the value is not a number, it returns a TypeError |
နည်းပညာဆိုင်ရာအသေးစိတ်
ပြန်ပို့တန်ဖိုး- | ရှုပ်ထွေးသောနံပါတ် တစ်ခု၏ complex တန်းဂျင့်ကိုကိုယ်စားပြုသောတန်ဖိုး |
---|---|
Python ဗားရှင်း- | ၁.၅ |