Difference between revisions of "Extensions.Math.Sin"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | /// Local Declarations | |
+ | Float FloatVariable; | ||
+ | /// Flow | ||
+ | FloatVariable = Math.Sin(NumericTerm); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 21: | Line 24: | ||
== OTL Examples == | == OTL Examples == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
+ | /// Local Declarations | ||
+ | |||
Float Float1; | Float Float1; | ||
Revision as of 07:23, 25 October 2018
Contents
Classification
Name | Sin |
Short Description | Sine of the given angle (in radians) |
Class | Term |
Extension | OTX Math Extension |
Group | Math related Actions |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
/// Local Declarations
Float FloatVariable;
/// Flow
FloatVariable = Math.Sin(NumericTerm);
Description
The Sin term is used for calculating the sine 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 | Sine of the given angle (in radians) |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Rad | Numeric | Term | - | [1] | Represents the angle from which the sine shall be calculated (radian interpretation). |
OTL Examples
/// Local Declarations
Float Float1;
/// Flow
Float1 = Math.Sin(45);