Difference between revisions of "Acos"

From Mesham
Jump to navigationJump to search
m
m
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 ==
Line 12: Line 12:
 
  var d:=acos(10.4);
 
  var d:=acos(10.4);
 
  var y:=acos(d);
 
  var y:=acos(d);
 +
 +
''Since: Version 1.0''
  
 
[[Category:Function Library]]
 
[[Category:Function Library]]
 
[[Category:Maths Functions]]
 
[[Category:Maths Functions]]

Revision as of 18:28, 13 January 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>
var d:=acos(10.4);
var y:=acos(d);

Since: Version 1.0