java sinh(ハイパーボリックサイン)値を取得する
javaで、sinh(ハイパーボリックサイン)値を取得する手順を記述してます。「Math.sinh」にラジアン値を指定することで可能です。
環境
- OS windows11 home
- java 19.0.1
手順
sinh(ハイパーボリックサイン)値を取得するには、「Math.sinh」で可能です。
Math.sinh(ラジアン値)
実際に、使用してみます。
public class App {
public static void main(String[] args) throws Exception {
System.out.println(Math.sinh(Math.toRadians(45))); // 0.8686709614860095
System.out.println(Math.sinh(Math.toRadians(-45))); // -0.8686709614860095
}
}
取得されていることが確認できます。
-
前の記事
WinSCP 環境設定を開くショートカットキー 2023.11.02
-
次の記事
mac 指定した文字列から文字列までの値を確認する 2023.11.02
コメントを書く