Difference between revisions of "Tan"

From Mesham
Jump to navigationJump to search
m
m
Line 9: Line 9:
 
== Example ==
 
== Example ==
  
 +
#include <maths>
 
  var a:=tan(0.05);
 
  var a:=tan(0.05);
 
  var y:=tan(a);
 
  var y:=tan(a);

Revision as of 12:46, 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);