Difference between revisions of "Atan"

From Mesham
Jump to navigationJump to search
m
Line 10: Line 10:
  
 
  #include <maths>
 
  #include <maths>
  var d:=atan(876.3);
+
  function void main() {
var y:=atan(d);
+
    var d:=atan(876.3);
 +
    var y:=atan(d);
 +
};
  
 
''Since: Version 1.0''
 
''Since: Version 1.0''

Revision as of 14:30, 15 April 2013

Overview

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

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

Example

#include <maths>
function void main() {
   var d:=atan(876.3);
   var y:=atan(d);
};

Since: Version 1.0