Search…
Resources
Related 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.
sqr(3)
Result: 9
​
sqr(-3)
Result: 9
​
sqr(6 – 9)
Result: 9

See also

​sqrt which calculates the square root of a number.
Last modified 2mo ago
Export as PDF
Copy link