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.

Tan Calculates the tangent value<br />

Example<br />

Tan (Tangent) is used to calculate the tangent value from an angle value.<br />

VAR num angle;<br />

VAR num value;<br />

.<br />

.<br />

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

Return value Data type: num<br />

Arguments<br />

Syntax<br />

The tangent value.<br />

Tan (Angle)<br />

Angle Data type: num<br />

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

Tan’(’<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 />

Arc tangent with return value in the<br />

range [-180, 180] Functions - ATan2<br />

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

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

Saved successfully!

Ooh no, something went wrong!