# Get the hyperbolic sine of a given value in Java

Java 8Object Oriented ProgrammingProgramming

#### Complete Java Programming Fundamentals With Sample Projects

98 Lectures 7.5 hours

#### Get your Java dream job! Beginners interview preparation

85 Lectures 6 hours

#### Core Java bootcamp program with Hands on practice

Featured

99 Lectures 17 hours

In order to get the hyperbolic sine of a given value in Java,we use the java.lang.Math.sinh() method. The sinh() method accepts an argument in radians and returns the hyperbolic sine of the argument which acts as the angle.

Declaration −  The java.lang.Math.sinh() is declared as follows −

public static double sinh(double x)

where x is the angle in radians.

Let us see a program to get the hyperbolic sine of a given value in Java.

## Example

Live Demo

import java.lang.Math;
public class Example {
public static void main(String[] args) {
// get two double numbers in degrees
double x = 90;
double y = 180;
// convert them in radians
}
Hyperbolic sine of 1.5707963267948966 = 2.3012989023072947
Hyperbolic sine of 3.141592653589793 = 11.548739357257748