function y = square(x) // // calculate the square of the given number 'x' // // Arguments: // // x (input) value to be squared // // y (output) the result of the square // y = x*x; endfunction // end of square function