Javatpoint Logo
Javatpoint Logo

PHP sinh() functions

PHP sinh() function is predefined math function. It is used to return the hyperbolic sine of a number. It is equal to (exp(number) - exp(-number))/2).

Syntax:

Parameter Description Required/Optional
Number Specify a number Required

Example 1

Output:

Your number is:3
By using 'sinh()' function your value is:10.01787492741

Example 2

Output:

Your number is:-3
By using 'sinh()' function your value is:-10.01787492741

Example 3

Output:

Your number is:0
By using 'sinh()' function your value is:0

Example 4

Output:

Your number is: M_PI
By using 'sinh()' function your value is:11.548739357258

Example 5

Output:

Your number is: M_PI_2
By using 'sinh()' function your value is:2.3012989023073

Next TopicPHP Math





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA