java.lang.Math.sinh(double x)


java.lang.Math.sinh(double x)

package com.codingdict;



import java.lang.*;



public class MathDemo {



   public static void main(String[] args) {



      // get two double numbers numbers

      double x = 45;

      double y = -180;



      // convert them to radians

      x = Math.toRadians(x);

      y = Math.toRadians(y);



      // print the hyperbolic sine for these doubles

      System.out.println("sinh(" + x + ")=" + Math.sinh(x));

      System.out.println("sinh(" + y + ")=" + Math.sinh(y));

   }

}