Java Math asin() နည်းလမ်း
ဥပမာ
မတူညီသော ဂဏန်းများ၏ arc cosine ကို ပြန်ပေးပါ။
System.out.println(Math.acos(0.64));
System.out.println(Math.acos(-0.4));
System.out.println(Math.acos(0));
System.out.println(Math.acos(1));
System.out.println(Math.acos(-1));
System.out.println(Math.acos(2));
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
နည်းလမ်းသည် နံပါတ် တစ်ခု၏ acos()
arc cosine တန်ဖိုးကို ပြန်ပေးသည်။
အကြံပြုချက်- acos(-1) သည် PI တန်ဖိုးကို ပြန်ပေးသည်။
အထားအသို
public static double abs(double number)
ကန့်သတ်တန်ဖိုးများ
Parameter | Description |
---|---|
number | Required. A number to find the arc cosine of, in the range -1 to 1. If the value is outside -1 to 1, it returns NaN (Not a Number). |
နည်းပညာဆိုင်ရာအသေးစိတ်
ပြန်ပို့သည်- | တန်ဖိုး တစ်ခု double ၊ ဂဏန်းတစ်ခု၏ arc ကိုsine ကိုကိုယ်စားပြုသည်။ |
---|
❮ သင်္ချာနည်းလမ်းများ