Difference between revisions of "Tanh"

From Mesham
Jump to navigationJump to search
(Created page with '== 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 * ''…')
 
m
Line 9: Line 9:
 
== Example ==
 
== Example ==
  
 +
#include <maths>
 
  var d:=tanh(10.4);
 
  var d:=tanh(10.4);
 
  var y:=tanh(d);
 
  var y:=tanh(d);

Revision as of 12:46, 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);