computes the square of a number, i.e. the number multiplied by itself

square(x)

Arguments

x

a number to be squared

Value

a number

Examples

square(10)
#> [1] 100
square(4)
#> [1] 16