Difference between revisions of "Acos"

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