Java StrictMath.sinh(double x)

Syntax

StrictMath.sinh(double x) has the following syntax.

public static double sinh(double x)

Example

In the following code shows how to use StrictMath.sinh(double x) method.


public class Main {
/*w  ww. j a  v  a 2 s. c  om*/
  public static void main(String[] args) {
  
    double d1 = (90*Math.PI)/180 , d2 = 50, d3 = 0;
     
    System.out.println("Hyperbolic sine of d1 = " + StrictMath.sinh(d1));
        
    System.out.println("Hyperbolic sine of d2 = " + StrictMath.sinh(d2));
        
    System.out.println("Hyperbolic sine of d3 = " + StrictMath.sinh(d3));
  }
}

The code above generates the following result.





















Home »
  Java Tutorial »
    java.lang »




Boolean
Byte
Character
Class
Double
Enum
Float
Integer
Long
Math
Number
Object
Package
Process
ProcessBuilder
Runnable
Runtime
SecurityManager
Short
StackTraceElement
StrictMath
String
StringBuffer
StringBuilder
System
Thread
ThreadGroup
ThreadLocal
Throwable