1. Home
  2. Computing & Technology
  3. PHP / MySQL
photo of Angela Bradley
Angela's PHP / MySQL Blog

By Angela Bradley, About.com Guide to PHP / MySQL

Sinh () PHP Function

Wednesday November 5, 2008
The sinh (x) PHP function is used to calculate 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.

<?php
echo(sinh(1) . "<br />");
echo((exp(1) - exp(-1))/2 . "<br />");
?>

This would return:
1.1752011936438
1.1752011936438

Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

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

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

All rights reserved.