Difference between revisions of "Sin"

From MiniScript Wiki
Jump to navigation Jump to search
(Created page with "<c>sin</c> returns the sine of the given angle (in radians). === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- | ''radians'' || numbe...")
 
 
Line 9: Line 9:
 
| ''radians'' || number || angle, in radians, to get the sine of.
 
| ''radians'' || number || angle, in radians, to get the sine of.
 
|}
 
|}
 
  
 
== Example ==
 
== Example ==

Latest revision as of 16:08, 17 March 2020

sin returns the sine of the given angle (in radians).

Arguments

Parameter Name Default Value Meaning
radians number angle, in radians, to get the sine of.

Example

sin(pi/2)		// returns 1