Inhaltsverzeichnis

cosh()

#include <cmath>

double cosh (double x) 

Liefert den hyperbolischen Kosinus von x.

Parameter

x relle Zahl

Ergebnis

Rückgabewert: (exp(x)+exp(-x))/2.

Siehe auch

cos(), sinh(), tanh().

Beispiel

cosh.cpp
#include <cmath>
#include <iostream>
 
int main()
{
  std::cout << "cosh(0) = " << std::cosh(0) << '\n';
}