Difference between revisions of "Extensions.Math.Sin"
Jump to navigation
Jump to search
(Created page with "Category:Math == Classification == {{ClassificationActivity | Sin | Sine of the given angle (in radians) | Term | OTX Math Extension | - | - | - | Yes}} == P...") |
|||
Line 3: | Line 3: | ||
{{ClassificationActivity | Sin | Sine of the given angle (in radians) | [[Term]] | [[Math|OTX Math Extension]] | - | - | - | Yes}} | {{ClassificationActivity | Sin | Sine of the given angle (in radians) | [[Term]] | [[Math|OTX Math Extension]] | - | - | - | Yes}} | ||
− | == | + | == OTL Syntax == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | FloatTerm = Math.Sin(NumericTerm); | |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 19: | Line 19: | ||
|} | |} | ||
− | == Examples == | + | == OTL Examples == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | Float | + | Float Float1; |
+ | |||
+ | Float1 = Math.Sin(45); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 08:36, 10 February 2015
Contents
Classification
Name | Sin |
Short Description | Sine of the given angle (in radians) |
Class | Term |
Extension | OTX Math Extension |
Group | - |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
FloatTerm = Math.Sin(NumericTerm);
Description
The Sin term is used for the calculation of the sine of the given angle used (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 | - | Term | - | [1] | The angle of which the sine is to be calculated. |
OTL Examples
Float Float1;
Float1 = Math.Sin(45);