Search…
⌃K
Links

sqr

To calculate the square
The function squares a number, i.e. multiplies it by itself. The result is always positive.

Syntax

sqr(number)

Return

number

Example

sqr(x) To calculate the square of a number x.
1
sqr(3)
Result: 9
1
sqr(-3)
Result: 9
1
sqr(6 – 9)
Result: 9

See also

sqrt which calculates the square root of a number.
Last modified 3mo ago