Math 객체의 cosh() 함수는 각도(라디안)를 받아들이고 쌍곡선 코사인 값을 반환합니다.
구문
구문은 다음과 같습니다.
Math.cosh(90)
예시
<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