Show / Hide Table of Contents

Sqrt


Math Function

The Sqrt function returns the square root of an expression.

Syntax

Sqrt(expression)

Syntax Example

Real1 = Sqrt(Real2)

Parameters

(expression)

A number or variable defined in the model to take the square root of.

Parameter Example

The following example displays the square root of 25 each time an Entity enters the Truck Location.

Display Sqrt(25)

Sqrt Example 1


Sqrt Example 2

Remarks

The Sqrt function returns a real number.

In This Article
Back to top Generated by DocFX