Difference between revisions of "Trigonometry Functions"

166 bytes added ,  21:19, 25 April 2010
no edit summary
imported>Wrye
(→‎Galsiah Version: Corrected approximations.)
imported>DragoonWraith
 
(3 intermediate revisions by one other user not shown)
Line 39: Line 39:
== Galsiah Version ==
== Galsiah Version ==


Galsiah says that this version of sine/cosine approximation is faster and more accurate than the Taylor series.
Galsiah says that this version of sine/cosine approximation is faster and more accurate than the Taylor series. (For source, see [http://www.convertit.com/Go/EducationPlanet/Reference/AMS55.ASP?Res=150&Page=76 Handbook of Mathematical Functions].)


This [[:Category:Stage Functions|function]] requires the following variables to be declared in your [[Global Script]]:
This [[:Category:Stage Functions|function]] requires the following variables to be declared in your [[Global Script]]:
Line 72: Line 72:
set Wiki.tan to (Wiki.sin/Wiki.cos)</pre>
set Wiki.tan to (Wiki.sin/Wiki.cos)</pre>


For working example, see [[Summoned Object]].
For working example (with somewhat simpler code), see [[Summon Object]].


== Taylor Series Variant 1 ==
== Taylor Series Variant 1 ==
Line 251: Line 251:


[[Category: Stage Functions]]
[[Category: Stage Functions]]
[[Category: Extra_Math_Functions]]
[[Category: Math Functions (CS 1.0)]]