Home  |  Delphi .net Home  |  System.Math  |  Cosh Method
Cosh  
Method  
Gets the Hyperbolic Cosine of an angle
Math Class
System NameSpace
CF1.  Function Cosh ( Angle : Double; ) : Double; Static;
CF : Methods with this mark are Compact Framework Compatible
Description
Returns the Hyperbolic CoSine (Cosh) value of the Angle radians value.
 
PI Radians = 180 degrees
Notes
Static methods are not methods of an object - they are simply class functions or procedures available at any time.
Microsoft MSDN Links
System
System.Math
 
 
A simple example
program Project1;
{$APPTYPE CONSOLE}

var
  float : Double;
begin
  float := System.Math.Cosh(1.0);

  Console.WriteLine('Cosh(1.0) = {0}', float.ToString);

  Console.ReadLine;
end.
Show full unit code
  Cosh(1.0) = 1.54308063481524
 
 
Delphi Programming © Neil Moffatt All rights reserved.  |  Contact the author