 
  Data Structure Data Structure
 Networking Networking
 RDBMS RDBMS
 Operating System Operating System
 Java Java
 MS Excel MS Excel
 iOS iOS
 HTML HTML
 CSS CSS
 Android Android
 Python Python
 C Programming C Programming
 C++ C++
 C# C#
 MongoDB MongoDB
 MySQL MySQL
 Javascript Javascript
 PHP PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
C++ STL asinh() function
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
Advertisements
 