C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
C++ Math sinh()The function computes the hyperbolic sine of an angle given in radian. Mathematically,
sinhx = (ex-e-x/2
SyntaxSuppose the hyperbolic angle is x: float sinh(float x); double sinh(double x); long double sinh(long double x); double sinh(integral x); Parameterx: The value representing the hyperbolic anle. Return valueIt returns the hyperbolic sine of an angle. Example 1Let's see a simple example. #include Output: Value of degree is: 90 sinh(radian): 2.2993 In this example, sinh() function computes the hyperbolic sine of an angle 90 and returns the value 2.2993 Example 2Let's see another simple example. #include Output: Value of degree is :56.4 sinh(radian): 1.15046 In this example, sinh() function computes the hyperbolic sine of angle 56.4 and returns the value 1.15.
Next TopicC++ Math Functions
|