Cos

From MiniScript Wiki
Revision as of 16:48, 16 March 2020 by 71.226.33.30 (talk) (Created page with "<c>cos</c> Returns the cosine of the given angle (in radians). === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning |- | ''radians'' || nu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

cos Returns the cosine of the given angle (in radians).


Arguments

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

Example

cos(0)   // returns 1