Javatpoint Logo
Javatpoint Logo

PHP atanh() Function

The atan() function is predefined PHP functions, which is used to solve the trigonometry function. It returns the inverse hyperbolic tangent of a number.

Syntax:

Parameter Description Required/Optional
number Specify a number Required

Example 1

Output:

Your passing number (M_PI_4) is: 0.78539816339745
By using 'atanh()' function your number is :1.0593061708232

Example 2

Output:

Your passing number is: 0.5
By using 'atanh()' function your number is :0.54930614433405

Example 3

Output:

passing negative value: -0.5
By using 'atanh()' function your number is :-0.54930614433405

Example 4

Output:

passing negative value: 1
By using 'atanh()' function your number is :INF

Example 5

Output:

passing negative value: -1

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