Table of Contents
cosDescriptionCalculate the cosine of an angle. Function prototypedouble cos <double:Angle> Arguments
Return valueThe cosine of the angle, as a double. Exampledouble angle set angle <zs:DegToRad 60> // convert 60 degrees to radians echo <zs:cos angle> // cos of 60 degrees should be 0.5 … the output of which is written to the event log by echo as: 0.5 CommentsNone. See alsoExcept where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
|