PHP atanh() FunctionThe atan() function is predefined PHP functions, which is used to solve the trigonometry function. It returns the inverse hyperbolic tangent of a number. Syntax:
Example 1Output: Your passing number (M_PI_4) is: 0.78539816339745 By using 'atanh()' function your number is :1.0593061708232 Example 2Output: Your passing number is: 0.5 By using 'atanh()' function your number is :0.54930614433405 Example 3Output: passing negative value: -0.5 By using 'atanh()' function your number is :-0.54930614433405 Example 4Output: passing negative value: 1 By using 'atanh()' function your number is :INF Example 5Output: passing negative value: -1
Next TopicPHP Math
|