**CIGAL Reference Manual, Chapter 3 (Functions): cos** ===== Cos -- Calculate the cosine of a variable ===== **usage: result = cos(x)** The COS function returns the cosine of its argument. The input value is in degrees and the output will be in the range of -1 to 1. If the input X is a variable with more than one value, COS will generate an output variable with the same number of values. Examples: type 'Cosine of 90 degrees:' cos(90) ; cos(90) == a/2 == 0.0 #1 = angle() cos(#1) **See Also:**\\ [[jvs:cigal:manual:chapter3:acos|ACOS(3)]], [[jvs:cigal:manual:chapter3:angle|ANGLE(3)]], [[jvs:cigal:manual:chapter3:asin|ASIN(3)]], [[jvs:cigal:manual:chapter3:sin|SIN(3)]] [[jvs:cigal|CIGAL Home]], [[jvs:cigal:manual|CIGAL Manual]], [[jvs:cigal:manual:chapter3|Functions List]], [[jvs:cigal:manual:help|Manual Help]]