Python cmath.sin() နည်းလမ်း
ဥပမာ
ရှုပ်ထွေးသောနံပါတ်၏ sine ကိုရှာပါ
#import cmath for complex number operations
import cmath
#find
the sine of complex number
print (cmath.sin(2 + 3j))
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
cmath.sin()
နည်းလမ်းသည် ကိန်းတစ်ခု၏ sine ကို ပြန်ပေးသည် ။
Sine သည် ညာဘက်တြိဂံနှင့် hypotenuse ၏ ဆန့်ကျင်ဘက်အခြမ်းကြား အချိုးကို ကိုယ်စားပြုသည့် trigonometric လုပ်ဆောင်မှုတစ်ခုဖြစ်သည်။
အထားအသို
cmath.sin(x)
ကန့်သတ်တန်ဖိုးများ
Parameter | Description |
---|---|
x | Required. A number to find the sine of |
နည်းပညာဆိုင်ရာအသေးစိတ်
ပြန်ပို့တန်ဖိုး- | complex တန်ဖိုးတစ်ခု၊ ရှုပ်ထွေးသောနံပါတ်တစ်ခု၏ sine ကိုကိုယ်စားပြုသည် ။ |
---|---|
Python ဗားရှင်း- | ၁.၅ |