Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
cosh() function in PHP
The cosh() function Returns the hyperbolic cosine of a number. The value Returned is a floating point number.
Syntax
cosh(num)
Parameters
num − Specifies a number in radians
Return
The cosh() function Returns the hyperbolic cosine of a number. The value Returned is a floating point number.
Example
<?php echo(cosh(1) . "<br>"); echo(cosh(-1)); ?>
Output
1.5430806348152<br>1.5430806348152
Example
Let us see another example −
<?php echo(cosh(0)); ?>
Output
1
Example
<?php echo(cosh(M_PI) . "<br>"); echo(cosh(2*M_PI)); ?>
Output
11.591953275522<br>267.74676148375
Advertisements
