%% Example
clear
clc

fun = @example4240; % the system of equations to be solved is stored in a separate file example4240.m

x0 = [0,0]; % set an initial guess (the vector is 2-dimensional because we have 2 unknows in example4240.m)

x = fsolve(fun,x0) % use fsolve to solve the system above starting from the guess x0.

% Help on fsolve: se.mathworks.com/help/optim/ug/fsolve.html

% Help on function:  se.mathworks.com/help/matlab/ref/function.html


%% Mandatory Assignment

clear
clc

fun = @equilibrium4240;
x0 = [100,100,1,1,100]; %initial guess
x = fsolve(fun,x0)





