User Tools

Site Tools


jvs:cigal:manual:chapter3:cos

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:
ACOS(3), ANGLE(3), ASIN(3), SIN(3)

CIGAL Home, CIGAL Manual, Functions List, Manual Help

jvs/cigal/manual/chapter3/cos.txt · Last modified: 2023/02/23 18:43 (external edit)