function z = sq(x)
% sq(x) returns the square of x.
z = x.^2;

