Difference between revisions of "Acos"

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

Revision as of 14:29, 15 April 2013

Overview

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

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

Example

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

Since: Version 1.0