Sqr
sqr
returns the square root of a number.
sqr(EXPR_NUM)
EXPR_NUM
is a numeric expression. SQR_2=sqr(2)# Solves A*X^2+B*X+C=0 with real valuesDET=B*B-4*A*CIf DET>0SOLUTION_1 = (-B +sqr(DET))/(2*A)SOLUTION_2 = (-B -sqr(DET))/(2*A)Endif
sqr(X)
returns the positive number whose square is X.
The type of result is Double.
Error code | Description |
---|---|
10 | The argument is not numeric. |
11 | The argument is strictly negative. |