====== sin ====== ===== Description ===== Calculate the [[wp>sine]] of an angle. ===== Function prototype ===== double sin ===== Arguments ===== ^ Name ^ Type ^ Comment ^ | Angle | double | An angle, in radians, the sine of which is to be calculated. | ===== Return value ===== The sine of the angle, as a double. ===== Example ===== double angle set angle // convert 30 degrees to radians echo // sin of 30 degrees should be 0.5 ... the output of which is written to the event log by [[plugins:general:zeoscript:reference:functions:echo]] as: 0.5 ===== Comments ===== None. ===== See also ===== * [[plugins:general:zeoscript:reference:functions:cos]] * [[plugins:general:zeoscript:reference:functions:tan]] * [[plugins:general:zeoscript:reference:functions:asin]] * [[plugins:general:zeoscript:reference:functions:acos]] * [[plugins:general:zeoscript:reference:functions:atan]] * [[plugins:general:zeoscript:reference:functions:DegToRad]] * [[plugins:general:zeoscript:reference:functions:RadToDeg]]