- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
sinh() function in PHP
The sinh() function Returns the hyperbolic sine of a number equivalent to.
(exp(num) - exp(-num))/2)
Syntax
sinh(num)
Parameters
num − The number for which you want to Return the hyperbolic sine. A value in radians.
Return
The sinh() function Returns the hyperbolic sine of a number.
Example
<?php echo(sinh(0) . "<br>"); echo(sinh(1) ); ?>
Output
0<br>1.1752011936438
Example
Let us see another example −
<?php echo(sinh(M_PI) . "<br>"); echo(sinh(M_PI_2)); ?>
Output
11.548739357258<br>2.3012989023073
Advertisements