Math.acosh()
静态方法返回数字的反双曲余弦。那是,
¥The Math.acosh()
static method returns the inverse hyperbolic cosine of a number. That is,
∀
x
≥
1
,
𝙼𝚊𝚝𝚑.𝚊𝚌𝚘𝚜𝚑
(
𝚡
)
=
arcosh
(
x
)
=
the unique
y
≥
0
such that
cosh
(
y
)
=
x
=
ln
(
x
+
x
2
−
1
)
\begin{aligned}\forall x \geq 1,;\mathtt{\operatorname{Math.acosh}(x)} &= \operatorname{arcosh}(x) = \text{the unique } y \geq 0 \text{ such that } \cosh(y) = x\&= \ln\left(x + \sqrt{x^2 - 1}\right)\end{aligned}
¥Parameters
x
大于或等于 1 的数字。
¥Return value
x
的反双曲余弦。如果 x
小于 1,则返回 NaN
。
¥The inverse hyperbolic cosine of x
. If x
is less than 1, returns NaN
.
¥Description
因为 acosh()
是 Math
的静态方法,所以你始终将其用作 Math.acosh()
,而不是用作你创建的 Math
对象的方法(Math
不是构造函数)。
¥Because acosh()
is a static method of Math
, you always use it as Math.acosh()
, rather than as a method of a Math
object you created (Math
is no constructor).
¥Using Math.acosh()
Math. acosh ( 0 ) ;
Math. acosh ( 1 ) ;
Math. acosh ( 2 ) ;
Math. acosh ( Infinity ) ;
BCD tables only load in the browser with JavaScript enabled. Enable JavaScript to view data.