Difference between revisions of "Tan"

From Mesham
Jump to navigationJump to search
(Created page with '== Overview == This tan[d] function will find the tangent of the value or variable ''d'' passed to it. * '''Pass:''' A double to find the tangent of * '''Returns:''' A double …')
 
m (5 revisions imported)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
  
This tan[d] function will find the tangent of the value or variable ''d'' passed to it.
+
This tan(d) function will find the tangent of the value or variable ''d'' passed to it.
  
* '''Pass:''' A double to find the tangent of
+
* '''Pass:''' A [[Double]] to find the tangent of
  
* '''Returns:''' A double representing the tangent
+
* '''Returns:''' A [[Double]] representing the tangent
  
 
== Example ==
 
== Example ==
  
  var a:=tan(0.05);
+
  #include <maths>
var y:=tan(a);
+
 +
function void main() {
 +
    var a:=tan(0.05);
 +
    var y:=tan(a);
 +
};
 +
 
 +
''Since: Version 0.41b''
  
 
[[Category:Function Library]]
 
[[Category:Function Library]]
 
[[Category:Maths Functions]]
 
[[Category:Maths Functions]]

Latest revision as of 15:44, 15 April 2019

Overview

This tan(d) function will find the tangent of the value or variable d passed to it.

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

Example

#include <maths>

function void main() {
   var a:=tan(0.05);
   var y:=tan(a);
};

Since: Version 0.41b