Java Math asin() Yöntemi
Örnek
Farklı sayıların ark kosinüsünü döndürün:
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));
Tanım ve Kullanım
Yöntem acos()
, bir sayının ark kosinüs değerini döndürür.
İpucu: acos(-1), PI değerini döndürür.
Sözdizimi
public static double abs(double number)
Parametre Değerleri
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). |
Teknik detaylar
İadeler: | Bir double sayının ark kosinüsünü temsil eden bir değer |
---|
❮ Matematik Yöntemleri