1. Home
  2. Computing & Technology
  3. PHP / MySQL

Sinh () PHP Function

By Angela Bradley, About.com

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

Explore PHP / MySQL
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. PHP / MySQL
  4. PHP Functions
  5. Sinh PHP Function - Hyperbolic Sine PHP Function

©2009 About.com, a part of The New York Times Company.

All rights reserved.