JavaScriptのMath.cosh()関数
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
-
JavaScriptのMath.sinh()関数
Mathオブジェクトのsinh()関数は、角度(ラジアン)を受け入れ、その双曲線正弦値を返します。 構文 その構文は次のとおりです Math.sinh(90) 例 <html> <head> <title>JavaScript Example</title> </head> <body> <script type="text/javascript"> var result = Math.sinh(
-
JavaScriptのMath.sin()関数
Mathオブジェクトのsin()関数は、角度(ラジアン)を受け入れ、その正弦値を返します。 構文 その構文は次のとおりです Math.sin(90) 例 <html> <head> <title>JavaScript Example</title> </head> <body> <script type="text/javascript"> var result = Math.sin(90); &