home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / progc / djlsr106.arj / COSH.C < prev    next >
C/C++ Source or Header  |  1991-03-10  |  86b  |  7 lines

  1. #include <math.h>
  2.  
  3. double cosh(double x)
  4. {
  5.   return (exp(x) + exp(-x)) / 2.0;
  6. }
  7.