09.12.2012 Views

Basic Characteristics RAPID

Basic Characteristics RAPID

Basic Characteristics RAPID

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Sqrt Calculates the square root value<br />

Example<br />

Sqrt (Square root) is used to calculate the square root value.<br />

VAR num x_value;<br />

VAR num y_value;<br />

.<br />

.<br />

y_value := Sqrt( x_value);<br />

Return value Data type: num<br />

Arguments<br />

Syntax<br />

The square root value.<br />

Sqrt (Value)<br />

Value Data type: num<br />

The argument value for square root ( ); it has to be ≥<br />

0 .<br />

Sqrt’(’<br />

[Value’:=’] <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-Sqrt-1

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

Saved successfully!

Ooh no, something went wrong!