To find the hyperbolic sine of a number, we can use the php sinh() function.
sinh(x)
In php, we can easily use trigonometric functions from the collection of php math functions. These php math functions allow us to perform trigonometry easily and in addition to the standard trigonometry, we have access to the hyperbolic trigonometry functions.
To find the hyperbolic sine of a number, we can use the php sinh() function.
Below is the php syntax to find the hyperbolic sine of a number.
sinh(x)
The input to the sinh() function must be a float. The return value will be a float.
echo sinh(100); // 1.3440585709080678e+43
echo sinh(0); // 0.0
echo sinh(-50); // -2.592352764293536e+21
Finding the Inverse Hyperbolic Sine of a Number in php
With php, we can also find the inverses of the common trigonometric functions. The asinh() function allows us to find the inverse of the hyperbolic sine of a number.
Below, we show that if we pass a number to sinh() and then call the phpasinh() function, we get back the same number.
echo asinh(sinh(100)) // 100.0
Hopefully, this article has been beneficial for you to understand how to use the math sinh() function in php to find the hyperbolic sine of a number.