PHP sinh

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

PHP : sinh() function

Description

The sinh() functions is used to get the hyperbolic sine of a number.

Version

(PHP 4 and above)

Syntax

sinh(num)

Parameter

Name

Description

Required /
Optional

Type

num

A number.

Required

Float

Return value

The hyperbolic sine of num.

Value Type : Float.

Pictorial Presentation

php-math-abc()

Example :

  1. echo(sinh(4) . '
    ');  

  2. echo(sinh(-4) . '
    ');  

  3. echo(sinh(0) . '
    ');  

  4. echo(sinh(M_PI) . "
    ");  

  5. echo(sinh(M_PI_2));  

  6. ?>  

Output :

27.289917197128
-27.289917197128
0
11.548739357258
2.3012989023073