the answer should be by matlab code Write an Mscript file en

the answer should be by matlab code

Write an M-script file entitled Probleml 8-m to do the following. Solve the system of non-linear equations x y) o Check your result by -ry- a- 3-0 substitution.

Solution

Two script files needed ,save the first script and run the next script to get results

---------------------------------------------------

function F = eqtions(x)
%EQTIONS Summary of this function goes here
% Detailed explanation goes here
%x(1)=x and x(2) =y

F(1) = 5*x(1)*x(2)-x(1)*(1+x(2));
F(2) = -x(1)*x(2)+(1-x(2))^2;


end

---------------------------------------------

fun = @eqtions;

------------------------------------------

Result


Equation solved.

x =

0 0.9990

i.e x=0 and y=0.9990

By substitution we get

0-0=0

0+0=0

both equations satisfied

the answer should be by matlab code Write an M-script file entitled Probleml 8-m to do the following. Solve the system of non-linear equations x y) o Check your

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site