Difference between revisions of "Acos"
From Mesham
Jump to navigationJump to searchm |
m (6 revisions imported) |
||
| (4 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 | + | * '''Pass:''' A [[Double]] to find the inverse cosine of |
| − | * '''Returns:''' A | + | * '''Returns:''' A [[Double]] representing the inverse cosine |
== Example == | == Example == | ||
| − | var d:=acos(10.4); | + | #include <maths> |
| − | + | ||
| + | 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]] | ||