Function Sqrt(x)

Sqrt

Sqrt(
    x             ! (input) numerical expression
    )

Arguments

x

A scalar numerical expression in the range \([0,\infty)\).

Return Value

The function Sqrt returns the \(\sqrt{x}\).

Note

  • A run-time error results if x is outside the range \([0,\infty)\).

  • The function Sqrt can be used in the constraints of nonlinear mathematical programs.

See also

The functions Power, Cube, and Sqr. Arithmetic functions are discussed in full detail in Arithmetic Functions of the Language Reference.