% Student ID
% Name, Surname

function assign1(xtol, ytol, ...)
% Define your parameters here
fx = inline('5*x^2+sin(x)-exp(x)-10');

err1 = []
err2 = []
err3 = []
fx1  = []
fx2  = []
fx3  = []

% dfdx = ...
% max  = ...
% ...

% Insert Bisection code below
xleft = -5;
% xright= ...;
% ...

% Insert Method #2 below

% Insert Method #3 below

% Display table and plot graph below
% disp('n     xn-r(1)   xn-r(2)   xn-r(3)   f(xn)(1)   f(xn)(2)   f(xn)(3)')
% for i=1:max;
%     disp([i err1(i) err2(i) err3(i) fx1(i) fx2(i) fx3(i)])
% end
% plot( ... , err1, ... , err2, ... , err3)