Difference between revisions of "Extensions.Math.Tan"

From emotive
Jump to navigation Jump to search
(Created page with "Category:Math == Classification == {{ClassificationActivity | Tan | Tangent of the given angle (in radians) | Term | OTX Math Extension | - | - | - | Yes}} =...")
 
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Math]]
+
{{DISPLAYTITLE:'''Tan '''}}[[Category:Math]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | Tan | Tangent of the given angle (in radians) | [[Term]] | [[Math|OTX Math Extension]] | - | - | - | Yes}}
+
{{ClassificationActivity | Tan | Tangent of the given angle (in radians) | [[Term]] | [[Extensions.Math|OTX Math Extension]] | [[Extensions.Math#Actions|Math related Actions]] | - | - | Yes}}
  
== Pseudo-Code Syntax ==
+
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
Float Tan(NumericTerm rad);
+
FloatTerm Math.Tan(NumericTerm rad);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
== Description ==
 
== Description ==
The '''Tan''' term is used for the calculation of the tangent of the given angle (in radians).
+
The '''Tan''' term is used for calculating the tangent of a given angle (in radians).
  
{{TermReturnValue| [[Float]] | Tangent of the given angle (in radians)}}
+
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.Float|Float]] | Tangent of the given angle (in radians)}}
  
 
== Properties ==
 
== Properties ==
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| Rad | - | [[Term]] | - | [1] | The angle of which the tangent is to be calculated.}}
+
{{TableRowPropertie2| Rad | [[Numeric]] | [[Term]] | - | [1] | Represents the angle from which the tangent will be calculated (radian interpretation).}}
 
|}
 
|}
  
== Examples ==
+
== OTL Examples ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
Float result = Tan(30);
+
/// Local Declarations
 +
 
 +
Float Float1;
 +
 
 +
/// Flow
 +
 
 +
Float1 = Math.Tan(45);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
== See also ==
 
== See also ==
[[Power]]<br/>
+
[[Extensions.Math.Power|Power]]<br/>
[[Log]] <br/>
+
[[Extensions.Math.Log|Log]]<br/>
[[Ln]] <br/>
+
[[Extensions.Math.Ln|Ln]] <br/>
[[Sin]] <br/>
+
[[Extensions.Math.Sin|Sin]] <br/>
[[Cos]]
+
[[Extensions.Math.Cos|Cos]]

Latest revision as of 02:47, 13 September 2019

Classification

Name Tan
Short Description Tangent of the given angle (in radians)
Class Term
Extension OTX Math Extension
Group Math related Actions
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

FloatTerm Math.Tan(NumericTerm rad);

Description

The Tan term is used for calculating the tangent of a given angle (in radians).

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
Float Tangent of the given angle (in radians)

Properties

Name Data Type Class Default Cardinality Description
Rad Numeric Term - [1] Represents the angle from which the tangent will be calculated (radian interpretation).

OTL Examples

/// Local Declarations

Float Float1;

/// Flow

Float1 = Math.Tan(45);

See also

Power
Log
Ln
Sin
Cos