class'sqrt()'

sqrt()

Extends from ModelicaReference.Icons.Information (Icon for general information packages).

Information

Square root

Syntax

sqrt(v)

Description

Returns the square root of v if v>=0, otherwise an error occurs. Argument v needs to be an Integer or Real expression.

Examples

sqrt(9)
 = 3.0