Math ऑब्जेक्ट का cosh() फंक्शन एक कोण (रेडियंस में) स्वीकार करता है और उसका हाइपरबोलिक कोसाइन मान लौटाता है।
सिंटैक्स
इसका सिंटैक्स निम्नानुसार है:
Math.cosh(x)
उदाहरण
<html> <head> <title>JavaScript Example</title> </head> <body> <script type="text/javascript"> var result = Math.cosh(90); document.write("Hyperbolic cosine value of the given angle: "+result); </script> </body> </html>
आउटपुट
Hyperbolic cosine value of the given angle: 6.102016471589204e+38