Acosh Function
It is used for getting the Arc HyperBolic Cosine value of the argument .
Syntax:
float acoshf(float arg); double acosh(double arg); long double acoshl(long double arg);
Example:
#include <math.h> #include <stdio.h> int main() { double x = -1.0; do { printf("Arc Hyperbolic Cosine of %f is %f.\n", x, acosh(x)); x += 0.1; } while(x<=1.0); return 0; }Back