javascript
asinh函数_JavaScript中带有示例的Math.asinh()方法
asinh函數
JavaScript | Math.asinh()方法 (JavaScript | Math.asinh() Method)
Math.asinh() is a function in math library of JavaScript that is used to find the value of hyperbolic arc-sine of a number.
Math.asinh()是JavaScript數學庫中的函數,用于查找數字的雙曲反正弦值。
Syntax:
句法:
Math.asinh(p);Parameter(s):
參數:
p – It represents the value whose hyperbolic arc-sine value to be found.
p –表示要找到其雙曲反正弦值的值。
Return value:
返回值:
The return type of this method is number, it returns the hyperbolic arc-sine value of the given p.
此方法的返回類型為number ,它返回給定p的雙曲反正弦值。
Example 1: Find the asinh of numeric values
示例1:查找數字的asinh
console.log(Math.asinh(0)); console.log(Math.asinh(7)); console.log(Math.asinh(-5)); console.log(Math.asinh(4.52));Output
輸出量
0 2.644120761058629 -2.3124383412727525 2.213677155353774Example 2: Find the asinh of non-numeric values
示例2:查找非數值的asinh
console.log(Math.asinh("IncludeHelp")); // Output: NaNconsole.log(Math.asinh(3 + 5i)); // Output: Uncaught SyntaxError: Invalid or unexpected token翻譯自: https://www.includehelp.com/code-snippets/math-asinh-method-with-example-in-javascript.aspx
asinh函數
總結
以上是生活随笔為你收集整理的asinh函数_JavaScript中带有示例的Math.asinh()方法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 索尼的液晶电视w,j,x系列有什么区别啊
- 下一篇: 原神同伴好感等级怎么提升