JavaScriptのMath.log1p()関数
Mathオブジェクトのlog1p()関数は数値を受け取り、(指定された数値+1)の自然対数(基数E)を返します。
構文
その構文は次のとおりです
Math.log1p(48);
例
<html>
<head>
<title>JavaScript Example</title>
</head>
<body>
<script type="text/javascript">
var result = Math.log1p(48);
document.write("Result: "+result);
</script>
</body>
</html> 出力
Result: 3.8918202981106265
-
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(