acosf(): This function is available in the library math.h. This function required one
parameter.
It takes parameters in the range [-1,1].It returns the value in the range [0, π].
Parameterss: One parameter is required for this function.
__X: A floating point number whose acos value to be fined.
Syntax:
acosf(__X)
For Example:
acosf(0.56) = > It returns 0.976411
Approach
C++
#include <bits/stdc++.h>using namespace std;int main(){float x = 0.56;cout << acosf<< "\n";return 0;}
No comments:
Post a Comment