Return the hyperbolic sine of different numbers in PHP

Description

The following code shows how to return the hyperbolic sine of different numbers.

Example


  // w  ww.j a v  a2  s.  c o  m
<?php
    echo(sinh(3) . "<br>");
    echo(sinh(-3) . "<br>");
    echo(sinh(0) . "<br>");
    echo(sinh(M_PI) . "<br>");
    echo(sinh(M_PI_2));
?>

The code above generates the following result.





















Home »
  PHP Tutorial »
    Development »




Environment
Error
Hash
Include
Locale
Math
Network
Output
Reflection
PHP Regular Expressions