Difference between revisions of "Tan"

From Mesham
Jump to navigationJump to search
m
m
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 double to find the tangent of
+
* '''Pass:''' A [[Double]] to find the tangent of
  
* '''Returns:''' A double representing the tangent
+
* '''Returns:''' A [[Double]] representing the tangent
  
 
== Example ==
 
== Example ==
Line 12: Line 12:
 
  var a:=tan(0.05);
 
  var a:=tan(0.05);
 
  var y:=tan(a);
 
  var y:=tan(a);
 +
 +
''Since: Version 0.41b''
  
 
[[Category:Function Library]]
 
[[Category:Function Library]]
 
[[Category:Maths Functions]]
 
[[Category:Maths Functions]]

Revision as of 18:41, 13 January 2013

Overview

This tan(d) function will find the tangent of the value or variable d passed to it.

  • Pass: A Double to find the tangent of
  • Returns: A Double representing the tangent

Example

#include <maths>
var a:=tan(0.05);
var y:=tan(a);

Since: Version 0.41b