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