Difference between revisions of "Tanh"

From Mesham
Jump to navigationJump to search
m
m
Line 3: Line 3:
 
The tanh(d) function will find the hyperbolic tangent of the value or variable ''d'' passed to it.
 
The tanh(d) function will find the hyperbolic tangent of the value or variable ''d'' passed to it.
  
* '''Pass:''' A double to find the hyperbolic tangent of
+
* '''Pass:''' A [[Double]] to find the hyperbolic tangent of
  
* '''Returns:''' A double representing the hyperbolic tangent
+
* '''Returns:''' A [[Double]] representing the hyperbolic tangent
  
 
== Example ==
 
== Example ==
Line 12: Line 12:
 
  var d:=tanh(10.4);
 
  var d:=tanh(10.4);
 
  var y:=tanh(d);
 
  var y:=tanh(d);
 +
 +
''Since: Version 1.0''
  
 
[[Category:Function Library]]
 
[[Category:Function Library]]
 
[[Category:Maths Functions]]
 
[[Category:Maths Functions]]

Revision as of 18:42, 13 January 2013

Overview

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

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

Example

#include <maths>
var d:=tanh(10.4);
var y:=tanh(d);

Since: Version 1.0