# C++ STL asinh() function

C++Server Side ProgrammingProgramming

#### C in Depth: The Complete C Programming Guide for Beginners

45 Lectures 4.5 hours

#### Practical C++: Learn C++ Basics Step by Step

Most Popular

50 Lectures 4.5 hours

#### Master C and Embedded C Programming- Learn as you go

66 Lectures 5.5 hours

The asinh() function is a function of standard C++ library. The asinh(value) is an inverse hyperbolic sine that returns the value of sinh(x) where x is in radian.

The function −

asinh() ;

Parameter to the function, inverse hyperbolic angle in radian . It can be negative, positive or zero. The parameter value can be double, float or long double.

Return value − It returns the inverse hyperbolic sine value of the input value. The returned value is in radians.

Lets see an example that shows the working of the function −

## Example

#include <bits/stdc++.h>
using namespace std;
int main() {
double insinh = 75.0;
double value = asinh(insinh);
cout <<"asinh(75.0) = "<<value<<" radians\n";
return 0;
}

## Output

asinh(75.0) = 5.01068 radians

You can also convert your output into radians, to convert it into radians is by multiplying the value by (180/3.141592).

## Example

#include <bits/stdc++.h>
using namespace std;
int main() {
double insinh = 75.0;
double value = asinh(insinh);
cout <<"asinh(75.0) = "<<value<<" radians\n";
cout<<"The value converted in degrees is "<< (value* (180 / 3.141592));
return 0;
}

## Output

asinh(75.0) = 5.01068 radians
The value converted in degrees is 287.091