function y = plusone(x) // // calculate the sum of the given argument 'x' plus 1 // // Arguments: // // x (input) value to be added to 1 // // y (output) the result of the addition // y = x + 1; endfunction