bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths

Loading lesson path

Learn/Java/Java Reference
Java•Java Reference

Java Math sinh() Method

❮ Math Methods

Example

System.out.println(Math.sinh(3));
System.out.println(Math.sinh(-3));
System.out.println(Math.sinh(0));
System.out.println(Math.sinh(1));

Definition and Usage

The sinh() method returns the hyperbolic sine of a number.

The hyperbolic sine is equivalent to (Math.exp(number) - Math.exp(-number)) / 2 .

Syntax

public static double sinh(double
number )

Parameter Values

ParameterDescription
numberRequired. A number to find the hyperbolic sine of.

Technical Details

Returns:A double value representing the hyperbolic sine of a number.
Java version:1.5+

Previous

Java Math sin() Method

Next

Java Math sqrt() Method