%Solving system of nonlinear algebraic equations
clear
x0 = [-5; -5];           % Make a starting guess at the solution
[x,fval] = fsolve(@fsolve1,x0)  % Call optimizer
