Difference between revisions of "Sin"
From Mesham
Jump to navigationJump to searchm |
m (5 revisions imported) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
This sin(d) function will find the sine of the value or variable ''d'' passed to it. | This sin(d) function will find the sine of the value or variable ''d'' passed to it. | ||
− | * '''Pass:''' A | + | * '''Pass:''' A [[Double]] to find sine of |
− | * '''Returns:''' A | + | * '''Returns:''' A [[Double]] representing the sine |
== Example == | == Example == | ||
− | var a:=sin(98.54); | + | #include <maths> |
− | + | ||
+ | function void main() { | ||
+ | var a:=sin(98.54); | ||
+ | var y:=sin(a); | ||
+ | }; | ||
+ | |||
+ | ''Since: Version 0.41b'' | ||
[[Category:Function Library]] | [[Category:Function Library]] | ||
[[Category:Maths Functions]] | [[Category:Maths Functions]] |