% A comment is a line beginned with the '%' character
%
% Define the function f(x,y) = x^2 - y to be integrated
% by a numerical solver of MATLAB
%
% A function is defined by the keyword function
% followed by the prototype of the functions itself

function res = f( x, y )
  res = x^2 - y ;
end