SQR

BASin

SQR SQare Root

Function

SQR gives the square root of a number.

How to use SQR

SQR is followed by a numeric value, for example

70 LET x=SQR y

An expression must be enclosed in brackets. The value following SQR (y above) must be greater than zero, and SQR returns its square root.

Format

  • SQR num-const
  • SQR num-var
  • SQR (num-expr)

See also

Chapter 9.