sinh() returns the hyperbolic sine of a number.
$value = sinh(1);
echo $value;
float sinh(float $x);
$x is the numeric input. sinh() returns its hyperbolic sine.
<?Php
echo sinh(0); // Output is 0
echo "<br>";
echo sinh(1); // Output 1.1752011936438
echo "<br>";
echo sinh(-1); // Output -1.1752011936438
echo "<br>";
echo sinh(4.2); // Output is 33.335667732052
echo "<br>";
echo sinh(2); // Output is 3.626860407847
echo "<br>";
echo sinh(90); // Output is 6.1020164715892E+38
?>
Plotting sine curves by using PHP GD function with deg2rad()
Author & Instructor at plus2net
I write and maintain practical tutorials on Python, PHP, SQL, JavaScript, HTML, jQuery, and web development at plus2net. The tutorials focus on clear explanations, working examples, and code that readers can test and adapt while learning.