asinhl() in C++

asinhl(): This function is available in the file math.h. It takes one parameter as an input. It returns the inverse hyperbolic sine value of that argument (arg). The value of the argument is any value (i.e positive, negative, or zero).

Parameters: One parameter is required for this function. It takes an argument in the long double type.

__arg: An argument whose inverse hyperbolic sine value is to be determined.

Syntax:

asinhl(__arg)

For Example:

asinhl(0.45) = > It returns 0.43605

Approach

C++

#include <bits/stdc++.h>
using namespace std;

int main()
{

    long double x = 0.45;

    cout << asinhl(x<< "\n";

    return 0;
}


No comments:

Post a Comment