Latest web development tutorials

C-Bibliotheksfunktionen - sinh ()

C Standard-Bibliothek - <math.h> C Standard - Bibliothek - <math.h>

Beschreibung

C - BibliotheksfunktionenDoppel sinh (double x) Gibt den hyperbolischen Sinus von x.

Erklärung

Hier ist sinh () Erklärung der Funktion.

double sinh(double x)

Parameter

  • x - Fließkommawert.

Rückgabewert

Diese Funktion gibt den hyperbolischen Sinus von x.

Beispiele

Das folgende Beispiel zeigt sinh () Funktion verwendet wird.

#include <stdio.h>
#include <math.h>

int main ()
{
   double x, ret;
   x = 0.5;

   ret = sinh(x);
   printf("%lf 的双曲正弦是 %lf 度", x, ret);
   
   return(0);
}

Lassen Sie uns zusammenzustellen und um das obige Programm ausführen, die in der folgenden führen:

0.500000 的双曲正弦是 0.521095 度

C Standard-Bibliothek - <math.h> C Standard - Bibliothek - <math.h>