784951111/lib/tpl/dokuwiki/images/favicon.ico" /> 784951111/lib/tpl/dokuwiki/images/apple-touch-icon.png" />

User Tools

Site Tools

784951111/doku.php" method="get" accept-charset="utf-8">

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: 2024/06/21 15:44 by 127.0.0.1