Map and Table Calculation

COS( ) function

Returns the cosine of an angle.

Syntax

COS(Value)

Input

Value is the angle specified in radians
Domain type: any Value domain

Output

COS returns: a real value
Domain: system domain Min1to1
Value range: [-1,1]

Notes:

Tip:

When the definition symbol = is used, a dependent output map or dependent output column is created; when the assignment symbol := is used, the dependency link is immediately broken after the output map/column has been calculated.

Usable in

MapCalc, TabCalc, Simple calculators

Examples

Pocket line calculator examples:

? COS(0.79)

returns 0.704

? COS(DEGRAD(60))

returns 0.500

aMapCalc example:

OutMap1 = COS(InMap1)

 

InMap1

OutMap1

2.0 1.0 0.5
0.2 0.3 -1.0
? -0.4 -0.1
-0.416 0.540 0.878
0.980 0.955 0.540
? 0.921 0.995

 

OutMap2 = COS(DEGRAD(InMap2))

 

InMap2

OutMap2

0 30 45
60 90 135
180 270 ?
1.000 0.866 0.707
0.500 0.000 -0.707
-1.000 -1.000 ?

TabCalc example:

OutCol1 = COS(InCol1)

OutCol2 = COS(DEGRAD(InCol2))

 

InCol1

OutCol1

InCol2

OutCol2

2.0

-0.416

0

1.000

1.0

0.540

30

0.866

0.5

0.878

45

0.707

0.2

0.980

60

0.500

0.3

0.955

90

0.000

-1.0

0.540

135

-0.707

?

?

180

-1.000

-0.4

0.921

270

-1.000

-0.1

0.995

?

?

See also: