Calculates thesquare root of the input variable.
The ambiguous sign is taken to be the same as the sign of b.
If x is of double-precision floating-point or complex data type, SQRT yields a result of the same type. All other types yield a single-precision floating-point result.
If x is an array, the result of SQRT has the same dimensions, with each element containing the square root of the corresponding element of x.
x = [3, 5, 7, 9] PRINT, SQRT(x)
1.73205 2.23607 2.64575 3.00000