simlogo1

 

 

 

SimQuest 6.4 help

 

 

Square

 

When applied to a number or an array of numbers, Square produces the square of the number or an array each element of which is the square of the corresponding element of the input array, respectively.
It has two variables: X and Xsquared.

 

Structure:

       X becomes X^2 ( = Xsquared)

 

Examples:

       3 becomes 9

       8 becomes 64

       -12 becomes 144

       (3, 8, -12) becomes (9, 64, 144)

 

 

 

Related topics:

 

 

 

Copyright University of Twente 2011