%
%  A template modify lines as needed/ required
%  alex  GERBESSIOTIS
%  Note that this M-file will not work if you try to call it; It's a template...
%  Nor does it satisfy the requirements of MP2.
%   ...... is an indication that you need to fill in information
%  more over you will also insert or delete lines (especially these comments).
function p......( ...... )
  fprintf('................',..........................);

  ............................
  fprintf('................',..,......);

  ............................
  fprintf('................',..,......);

  ............................
  fprintf('................',..,......);

  ............................
  fprintf('................',..,......);

  ............................
  fprintf('................',..,........);
end


function ..=..............    %PART A
  v1a = ............
  v1a = ............
  v1b = ............
  v1b = ............
  v1  = ..................................
end

function ..=..............    %PART B
  ...............
  v1  = 4*sum(v1);
end

                              % PART C

                              % PART D is PART A implemented with a  for loop

                              % PART D is PART A implemented with a  while loop

