sin: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Number]] <nowiki>=</nowiki> '''sin''' x |SYNTAX=
| '''sin''' x |SYNTAX=


|p1= x: [[Number]] |PARAMETER1=
|p1= x: [[Number]] |PARAMETER1=
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_sine = [[sin]] 30;//result is 0.5</code> |EXAMPLE1=
|x1= <code>_sine = [[sin]] 30;{{cc|//result is 0.5}}</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


|  [[Math Commands]] |SEEALSO=
|  [[cos]] [[tan]] |SEEALSO=
 
}}
}}


Line 39: Line 38:
[[Category:Scripting Commands OFP 1.46|SIN]]
[[Category:Scripting Commands OFP 1.46|SIN]]
[[Category:Scripting Commands Armed Assault|SIN]]
[[Category:Scripting Commands Armed Assault|SIN]]
[[Category:Command_Group:_Math|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 00:10, 27 September 2020

Hover & click on the images for description

Description

Description:
Sine of x, argument in Degrees.
Groups:
Geometry

Syntax

Syntax:
sin x
Parameters:
x: Number
Return Value:
Number

Examples

Example 1:
_sine = sin 30;// //result is 0.5

Additional Information

See also:
cos tan

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section