% template.m
% This is a template for electronic submission of homework
% assignments for the course MATH 3Q03; use of this template is 
% obligatory
% Email the complete file to the instructor before the
% due date; before submission make sure that the code executes
% correctly in MATLAB

% Written by Bartosz Protas, September 2016

function template


% Student information
  
disp('  ------------   Student Information  ------------  ')  

% Please enter your information here
Name = 'Johny';
Surname = 'Good';
ID = 123456789;

fprintf('  Student:  %s %s (ID: %d) \n', Name, Surname, ID);



disp('  ------------------------------------------------  ')  
disp('  ')
disp('  ')
disp('  ')
disp('  ')


disp('  ----------   Solution to Question #1  ----------  ')  
disp('  ')
% Insert here your solution to Question #1
% (if you define your own functions, they may appear 
%  at the end of the file)




disp('  ')
disp('  ------------------------------------------------  ')  
disp('  ')
disp('  ')
disp('  ')
disp('  ')


disp('  ----------   Solution to Question #2  ----------  ')  
disp('  ')
% Insert here your solution to Question #2
% (if you define your own functions, they may appear 
%  at the end of the file)





disp('  ')
disp('  ------------------------------------------------  ')  
disp('  ')
disp('  ')
disp('  ')
disp('  ')


% Please copy as many headers as necessary
