xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

SinH()

Calculates the hyperbolic sine.

Syntax

SinH( <nRadians> ) --> nHyperbolicSine

Arguments

<nRadians>
A numeric value specifying the angle value in radians.

Return

The function returns the hyperbolic sine in the range of plus and minus Infinity().

Info

See also:Cos(), Cot(), DtoR(), RtoD(), SinH(), Tan(), TanH()
Category: CT:Math , Mathematical functions , Trigonometric functions , xHarbour extensions
Source:ct\trig.c
LIB:xhb.lib
DLL:xhbdll.dll

Example

// The example display results of SinH(). Note that there is a numeric overflow.

   PROCEDURE Main
      ? Str( SinH( 0.0 ), 18, 15)  // result:  0.000000000000000
      ? Str( SinH( 1.0 ), 18, 15)  // result:  1.175201193643801
      ? Str( SinH( 2.0 ), 18, 15)  // result:  3.626860407847019
      ? Str( SinH( 4.0 ), 18, 15)  // result: 27.289917197127750
      ? Str( SinH( 8.0 ), 18, 15)  // result: ******************
   RETURN

Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe