sin: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\{\{cc\|([^ ]*)\}\}([^ ]*)<\/code>" to "<code>$1// $2$3</code>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *V([a-z ])" to "$1 - v$2")
 
(One intermediate revision by the same user not shown)
Line 28: Line 28:
|s1= [[sin]] x
|s1= [[sin]] x


|p1= x: [[Number]] - Value in degree
|p1= x: [[Number]] - value in degree


|r1= [[Number]]
|r1= [[Number]]


|x1= <code>_sine = sin 30; // result is 0.5</code>
|x1= <sqf>_sine = sin 30; // result is 0.5</sqf>


|seealso= [[cos]] [[tan]]
|seealso= [[cos]] [[tan]]
}}
}}

Latest revision as of 15:53, 8 November 2023

Hover & click on the images for description

Description

Description:
Sine of x.
Groups:
Math - Geometry

Syntax

Syntax:
sin x
Parameters:
x: Number - value in degree
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