Difference between revisions of "Tan"

From Mesham
Jump to navigationJump to search
m
Line 10: Line 10:
  
 
  #include <maths>
 
  #include <maths>
  var a:=tan(0.05);
+
   
var y:=tan(a);
+
function void main() {
 +
    var a:=tan(0.05);
 +
    var y:=tan(a);
 +
};
  
 
''Since: Version 0.41b''
 
''Since: Version 0.41b''

Revision as of 14:40, 15 April 2013

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