6 lines
82 B
C
6 lines
82 B
C
|
#include <math.h>
|
||
|
|
||
|
double cosh (double x)
|
||
|
{
|
||
|
return (exp(x) + exp(-x)) / 2;
|
||
|
}
|