Sistema de ecuaciones no lineales

2
Sistema de Ecuaciones no lineales { x 2 y 2 =4 e x +xy =1 punto inicial [ 2 0 ] >> x1=(-1:0.1:5); >> x2=(-1:1:5); >> [X1,X2]=meshgrid(x1,x2); >> x1=(-1:0.1:5); >> x2=(-1:1:5); >> [X1,X2]=meshgrid(x1,x2); >> f1=X1.^2-X2.^2-4; >> f2=exp(-X1)+X1.*X2-1; >> mesh(X1,X2,f1); >> hold on >> mesh(X1,X2,f2);

Transcript of Sistema de ecuaciones no lineales

Page 1: Sistema de ecuaciones no lineales

Sistema de Ecuaciones no lineales

{ x2− y2=4e−x+xy=1 punto inicial [20]

>> x1=(-1:0.1:5);

>> x2=(-1:1:5);

>> [X1,X2]=meshgrid(x1,x2);

>> x1=(-1:0.1:5);

>> x2=(-1:1:5);

>> [X1,X2]=meshgrid(x1,x2);

>> f1=X1.^2-X2.^2-4;

>> f2=exp(-X1)+X1.*X2-1;

>> mesh(X1,X2,f1);

>> hold on

>> mesh(X1,X2,f2);

Page 2: Sistema de ecuaciones no lineales

-2

0

2

4

6

-2-1012345

-30

-20

-10

0

10

20

30