Difference between revisions of "Cosh"

From Mesham
Jump to navigationJump to search
m
m (4 revisions imported)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
The cosh(d) function will find the hyperbolic cosine of the value or variable ''d'' passed to it.
 
The cosh(d) function will find the hyperbolic cosine of the value or variable ''d'' passed to it.
  
* '''Pass:''' A double to find the hyperbolic cosine of
+
* '''Pass:''' A [[Double]] to find the hyperbolic cosine of
  
* '''Returns:''' A double representing the hyperbolic cosine
+
* '''Returns:''' A [[Double]] representing the hyperbolic cosine
  
 
== Example ==
 
== Example ==
  
 
  #include <maths>
 
  #include <maths>
  var d:=cosh(10.4);
+
   
var y:=cosh(d);
+
function void main() {
 +
    var d:=cosh(10.4);
 +
    var y:=cosh(d);
 +
};
 +
 
 +
''Since: Version 1.0''
  
 
[[Category:Function Library]]
 
[[Category:Function Library]]
 
[[Category:Maths Functions]]
 
[[Category:Maths Functions]]

Latest revision as of 15:44, 15 April 2019

Overview

The cosh(d) function will find the hyperbolic cosine of the value or variable d passed to it.

  • Pass: A Double to find the hyperbolic cosine of
  • Returns: A Double representing the hyperbolic cosine

Example

#include <maths>

function void main() {
   var d:=cosh(10.4);
   var y:=cosh(d);
};

Since: Version 1.0