Difference between revisions of "Tanh"
From Mesham
Jump to navigationJump to searchm |
m (4 revisions imported) |
||
(2 intermediate revisions by the same user not shown) | |||
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 | + | * '''Pass:''' A [[Double]] to find the hyperbolic tangent of |
− | * '''Returns:''' A | + | * '''Returns:''' A [[Double]] representing the hyperbolic tangent |
== Example == | == Example == | ||
#include <maths> | #include <maths> | ||
− | var d:=tanh(10.4); | + | |
− | + | function void main() { | |
+ | var d:=tanh(10.4); | ||
+ | var y:=tanh(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 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> function void main() { var d:=tanh(10.4); var y:=tanh(d); };
Since: Version 1.0