日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

asinh函数_JavaScript中带有示例的Math.asinh()方法

發布時間:2023/12/1 49 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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.213677155353774

Example 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()方法的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。