Difference between revisions of "Atan"

From Mesham
Jump to navigationJump to search
m
m (5 revisions imported)
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
The atan(d) function will find the inverse tangent of the value or variable ''d'' passed to it.
 
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
+
* '''Pass:''' A [[Double]] to find the inverse tangent of
  
* '''Returns:''' A double representing the inverse tangent
+
* '''Returns:''' A [[Double]] representing the inverse tangent
  
 
== Example ==
 
== Example ==
  
 
  #include <maths>
 
  #include <maths>
  var d:=atan(876.3);
+
   
var y:=atan(d);
+
function void main() {
 +
    var d:=atan(876.3);
 +
    var y:=atan(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 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