JavaScript 中的 Math.cosh() 函数
Math 对象的 cosh() 函数接受一个角度(以弧度为单位),并返回其双曲余弦值。
语法
其语法如下
Math.cosh(90)
示例
<html>
<head>
<title>JavaScript Example</title>
</head>
<body>
<script type="text/javascript">
var result = Math.cosh(90);
document.write("Hyperbolic cosine value of the given angle: "+result);
</script>
</body>
</html>输出
Hyperbolic cosine value of the given angle: 6.102016471589204e+38
广告
数据结构
网络
关系数据库管理系统
操作系统
Java
iOS
HTML
CSS
Android
Python
C 语言
C++
C#
MongoDB
MySQL
Javascript
PHP