CIGAL Reference Manual, Chapter 3 (Functions): cos
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)