Difference between revisions of "Acos"

From Mesham
Jump to navigationJump to search
(Created page with '== 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…')
 
m (6 revisions imported)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
  
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 ==
  
  var d:=acos(10.4);
+
  #include <maths>
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