cosh()

Returns the hyperbolic cosine of an angle.

Synopsis

float cosh( float x );

Parameters

Parameter Description
x angle

Return Value

In the event of an error 0.0

Description

Returns the hyperbolic cosine of an angle.

Example


main()
{
  float f;
  f=cos(deg2rad(90)); //produces 0
  f=cosh(0.33); //produces 1.05495
  f=acos(1); // produces 0
}

Assignment

mathematical function

Availability

CTRL