SIN: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
Line 6: Line 6:


===Example===
===Example===
:SIN(14/2)
:a1 = SIN(14)


:a1 = SIN(a1+2)
:a1 = SIN(w1*int(14+a1))
[[Category:Internal_Macro_Functions]]
[[Category:Internal_Macro_Functions]]

Revision as of 17:57, 22 July 2010

Command

SIN
SIN
SIN <n>


Returns the sine value of the input, to view the result use debug.

Parameters

<n>
Anything that evaluates to a number. This can be a variable, a number, another function, or an expression which includes numbers, variables and/or functions.
For example:
123
r1
r2 + r3
(r1 + (abs(a1 * a2) / (b3 * 62)))

Example

a1 = SIN(14)
a1 = SIN(a1+2)
a1 = SIN(w1*int(14+a1))