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