09.12.2012 Views

Basic Characteristics RAPID

Basic Characteristics RAPID

Basic Characteristics RAPID

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Cos Calculates the cosine value<br />

Example<br />

Cos (Cosine) is used to calculate the cosine value from an angle value.<br />

VAR num angle;<br />

VAR num value;<br />

.<br />

.<br />

value := Cos(angle);<br />

Return value Data type: num<br />

Arguments<br />

Syntax<br />

The cosine value, range = [-1, 1] .<br />

Cos (Angle)<br />

Angle Data type: num<br />

The angle value, expressed in degrees.<br />

Cos’(’<br />

[Angle ’:=’] <br />

’)’<br />

A function with a return value of the data type num.<br />

Related information<br />

Described in:<br />

Mathematical instructions and functions <strong>RAPID</strong> Summary - Mathematics<br />

<strong>RAPID</strong> Reference Manual 9-Cos-1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!