Difference between revisions of "Extensions.Math.Tan"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
== Description == | == Description == | ||
− | The '''Tan''' term is used for | + | The '''Tan''' term is used for calculating the tangent of a given angle (in radians). |
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.Float|Float]] | Tangent of the given angle (in radians)}} | {{TermReturnValue| [[Core.DataTypes.SimpleDataType.Float|Float]] | Tangent of the given angle (in radians)}} | ||
Line 16: | Line 16: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| Rad | | + | {{TableRowPropertie1| Rad | [[Numeric]] | [[Term]] | - | [1] | Represents the angle from which the tangent shall be calculated (radian interpretation).}} |
|} | |} | ||
Line 22: | Line 22: | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
Float Float1; | Float Float1; | ||
+ | |||
+ | /// Flow | ||
Float1 = Math.Tan(45); | Float1 = Math.Tan(45); |
Revision as of 07:37, 1 October 2018
Contents
Classification
Name | Tan |
Short Description | Tangent of the given angle (in radians) |
Class | Term |
Extension | OTX Math Extension |
Group | - |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
FloatTerm = Math.Tan(NumericTerm);
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.
![]()
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 shall be calculated (radian interpretation). |
OTL Examples
Float Float1;
/// Flow
Float1 = Math.Tan(45);