sinh - C math.h

C examples for math.h:sinh

Type

function

From

<cmath>
<ctgmath>
<math.h>

Prototype

long double sinhl (long double x);
long double sinh (long double x);
     double sinh (double x);
      float sinhf (float x);
      float sinh (float x);
     double sinh (T x);           

Description

Compute hyperbolic sine

Parameters

Parameter Description
x Value representing a hyperbolic angle.

Return Value

Hyperbolic sine of x.

Demo Code

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

int main ()// ww w  . j ava  2s  .  c  o  m
{
  double param = log(2.0);
  double result = sinh (param);
  printf ("The hyperbolic sine of %f is %f.\n", param, result );
  return 0;
}

Related Tutorials