Computer >> Computer tutorials >  >> Programming >> Javascript

Math.sinh() function in JavaScript


The sinh() function of the Math object accepts an angle (in radians) and returns its hyperbolic sine value.

Syntax

Its Syntax is as follows

Math.sinh(90)

Example

<html>
<head>
   <title>JavaScript Example</title>
</head>
<body>
   <script type="text/javascript">
      var result = Math.sinh(90);
      document.write("Hyperbolic sine value of the given angle: "+result);
   </script>
</body>
</html>

Output

Hyperbolic sine value of the given angle: 6.102016471589204e+38