Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles by Malhar Lathkar
Page 11 of 11
PHP asinh() Function
The asinh() function calculates the inverse hyperbolic sine of a given number. In mathematical terms, it returns the value whose hyperbolic sine equals the input parameter. The mathematical formula is: asinh(x) = log(x + sqrt(x² + 1)) Syntax asinh(float $arg): float Parameters Parameter Description arg A floating point value whose inverse hyperbolic sine is to be calculated Return Value Returns the inverse hyperbolic sine of the argument as a float value. Examples Basic Usage Here's a simple example using the value of ...
Read MorePHP acosh() Function
The acosh() function returns the inverse hyperbolic cosine of a given number. The inverse hyperbolic cosine is defined mathematically as: acosh(x) = log(x + sqrt(x² - 1)) This function accepts values greater than or equal to 1 and returns a float value representing the hyperbolic angle in radians. Syntax acosh(float $arg): float Parameters Parameter Description arg A floating point value ≥ 1 whose inverse hyperbolic cosine is to be calculated Return Value Returns the inverse hyperbolic cosine of arg as a float, or NAN ...
Read MorePHP abs() Function
The abs() function is a built-in PHP function that returns the absolute value of a number. The absolute value is always positive, regardless of whether the input is positive or negative. Syntax abs(mixed $number) Parameters Parameter Description number The numeric value to process (int, float, or numeric string) Return Value Returns the absolute value of the number. If the parameter is a float, the return type is float. For integer parameters, the return type is integer. Examples Basic Usage with Numbers ...
Read More