1. Computing & Technology

Discuss in my forum

Sinh () PHP Function

By , About.com Guide

Definition: The Sinh () PHP function is used to find the hyperbolic sine of the given variable. Sinh (x) would give you the hyperbolic sine of x. It can also be calculated as (exp(x) - exp(-x))/2, with exp being e raised to the power of x.
Also Known As: Hyperbolic Sine
Examples:
 <?php 
 echo(sinh(1) . "<br />"); 
 echo((exp(1) - exp(-1))/2 . "<br />"); 
 echo(sinh(0) . "<br />"); 
 echo(sinh(-1) . "<br />"); 
 ?>
 

This would return the results:
1.1752011936438
1.1752011936438
0
-1.1752011936438

Related Searches php echo sinh lt hyperbolic sine br

©2012 About.com. All rights reserved.

A part of The New York Times Company.