Javatpoint Logo
Javatpoint Logo

PHP cosh() Function

PHP cosh() is mathematical trigonometry function which is used to return the hyperbolic cosine of a number. In another word we can say that it converts hyperbolic cosine.

Syntax:

Parameter Description Required/Optional
arg Specify a argument Required

Example 1

Output:

Your number is:3
By using 'cosh()' function your value is:10.067661995778

Example 2

Output:

Your number is:-3
By using 'cosh()' function your value is:10.067661995778

Example 3

Output:

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

Example 4

Output:

Your number is: M_PI
By using 'cosh()' function your value is:11.591953275522

Example 5

Output:

Your number is: 2*M_PI
By using 'cosh()' function your value is:267.74676148375

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