博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
python中acosh_JavaScript中带有示例的Math.acosh()方法
阅读量:2527 次
发布时间:2019-05-11

本文共 1130 字,大约阅读时间需要 3 分钟。

python中acosh

JavaScript | Math.acosh()方法 (JavaScript | Math.acosh() Method)

Math.acosh() is a function in math library of JavaScript that is used to find the value of hyperbolic arc-cosine of a number.

Math.acosh()是JavaScript数学库中的函数,用于查找数字的双曲反余弦值。

Syntax:

句法:

Math.acosh(p);

Parameter(s):

参数:

  • p – It represents the value whose hyperbolic arc-cosine value to be found.

    p –表示要找到其双曲反余弦值的值。

Return value:

返回值:

The return type of this method is number, it returns the hyperbolic arc-cosine value of the given p.

此方法的返回类型为number ,它返回给定p的双曲反余弦值。

Example 1: Find the acosh of numeric values

示例1:查找数字值

console.log(Math.acosh(1));console.log(Math.acosh(1.454));console.log(Math.acosh(19));

Output

输出量

00.92009027843277553.6368929184641337

Example 2: Passing numeric values that may provide invalid output.

示例2:传递可能提供无效输出的数值。

console.log(Math.acosh(0));console.log(Math.acosh(-1));console.log(Math.acosh(-19));

Output

输出量

NaNNaNNaN

Example 3: Passing non-numeric values.

示例3:传递非数字值。

console.log(Math.acosh("Hello!"));// Output: NaNconsole.log(Math.acosh(1 + 4i));// Outout: Uncaught SyntaxError: Invalid or unexpected token

翻译自:

python中acosh

转载地址:http://pwvzd.baihongyu.com/

你可能感兴趣的文章
如何用纯 CSS 创作一个 3D 文字跑马灯特效
查看>>
assert.notDeepEqual()
查看>>
android获取textview的行数
查看>>
winsocket客户端编程以及jmeter外部调用
查看>>
PHP基础知识------页面静态化
查看>>
zoj 3747 dp递推
查看>>
POJ 3740
查看>>
41025 ISD Assignment 2 Autumn 2019
查看>>
JavaScript跨域调用基于JSON的RESTful API
查看>>
js 右击事件
查看>>
POJ1426:Find The Multiple(算是bfs水题吧,投机取巧过的)
查看>>
今天突然出现了Property IsLocked is not available for Login '[sa]',我太阳,下面有绝招对付它!...
查看>>
django-admin源码解析
查看>>
pc端字体大小自适应几种方法
查看>>
Linux--Linux下安装JDk
查看>>
Github windows客户端简单上手教程
查看>>
前端面试题:高效地随机选取数组中的元素
查看>>
[.NET] 使用 .NET Framework 開發 ActiveX Control
查看>>
Remote IIS Debugging : Debug your ASP.NET Application which is hosted on "Remote IIS Server"
查看>>
iframe 模拟ajax文件上传and formdata ajax 文件上传
查看>>