sin: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *V([a-z ])" to "$1 - v$2")
 
(6 intermediate revisions by the same user not shown)
Line 26: Line 26:
|descr= Sine of x.
|descr= Sine of x.


|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; {{cc|//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