Está en la página 1de 11

UNIVERSIDAD PERUANA UNIN

FACULTAD DE INGENIERIA Y ARQUIETECTURA


E.P: INGENIERIA CIVIL

Examen inscrito presentado de la signatura de mtodos numricos

PROFESOR:
SALINAS MENA MATEO ALEJANDRO
ALUMNO:
JOSE ARMANDO HUAMANI ARIAS

02 de noviembre de 2016

SE TIENE LOS SIGUIENTES EJERCICIOS


1. 2x + 2y + 2z = 8
4x + 2y + 2z = 1
6x + 4y + 4z =

(1)
(2)
(3)

A) Resuelve el sistema de ecuaciones si tiene solucin nica


B) Si no tiene solucin
C) Si tiene infinita solucin
Solucin
Sumando las la 1 y 2
2x + 2y + 2z = 8
4x + 2y + 2z = 10
Comparacin
6x + 4y + 4z = 18
6x + 4y + 4z =
A)
Resuelve el sistema de ecuaciones si tiene solucin
nica
=

18

A) Resolver el sistema si tiene solucin nica

2 2
4 2
6 4

2 8
2 10
4 18

la primera fila dividimos

1 1
4 2
6 4

1 1
1
4

0 1
1
3
0 2 2 6

1 4
2 10
4 18

-4 fila 1y2

1 1
1
2
0 2 2 0

4
2 6
6

[ ]

-1/2 fila 2

por ultimo

2fila 2 y 3

1 1
1
0 1 1 0

4
03
0

[ ]

Como vemos la matriz esta en los extremos inferiores son


ceros eso quiere decir que

Por lo tanto =

18 tiene solucin infinita

B) Si no tiene solucin
C) =

2 2
4 2
6 4

1 1
1 4
0 2 2 6
0 2 2 24

1 1 14
0 1 13
0 0 0 18

28
2 10
40

fila 1

1 1 14
4 2 2 10
6 4 40

-1/2 fila 2

1 1
1 4
0 1
1 3
0 2 2 24

Tambin tenemos los siguientes

B) = 0
No tiene solucin

C) Si tiene infinita solucin


C)

-4 fila 1 y2

;-6 fila 1

2fila 2 y 3

2 2
4 2
6 4

1 1
1
4
0 2 2 6
0 2 2 24 +

2 8
2 10
4

fila

1 1
4 2
6 4

14
2 10
4

-1/2 en fila 2

1 1 1 4
0 1 1 3
0 0 0 =30

4fila 2; 6 fila 1 y 3

1 1
1
4
0 1
1
3
0 2 2 24 +

Por lo tanto, vemos que:


C) =
Tiene solucin infinita

2. Dado los datos de la tabla


X
Y

0 2
84.8

4
75

6 8
67.2

10
61.9

57.6

53.4

20

Aproximar Y dada por la tabla por las funciones de tipo


Y= a1*x1 + a2*x2 + a12*x1*x2 + a11*x1^2 + a22*x2^2

3. resolver por matlab las siguientes ecuaciones no lineales


por el mtodo de newton rapshon indicando su punto
inicial en el matlab.

X^2 - 2x y + 0.5 = 0

X^2 + 4y^2 - 4 = 0

Solucin

Punto inicial:
(P; q) = (2, 0.25)
F(x, y ) =

x 22 x y
2
2
x +4 y

0.5
4

[ ]
0.25
0.25

Para ello hallamos el jacobiano: la derivada


J(x , y ) =

2 x2 y
2x
8y

2 1
4 2

Para ello calculamos los incrementos

p,q

2 1
4 2

0.09575
0.0625

[ ]
p
q

[ ]
0.25
0.25

Para ello:
P1=p + p

P1 =

1 . 90625
0. 3125

[ ]
2
0.25

0.09575
0.0625

RPT.

Y SUS MAYLAB
>> syms x y
>> a=x^2-2*x-y+0.5;
>> b=x^2+4*y^2-4;
>> f(x,y)= [ a ; b]

f(x, y) =

x^2 - 2*x - y + 1/2


x^2 + 4*y^2 - 4

>> j(x,y)=[diff(a,x) diff(a,y) ; diff(b,x) diff(b,y) ]

j(x, y) =

[ 2*x - 2, -1]
[

2*x, 8*y]

>> % en el punto inicial comensamos con [p0,q0] = [2 , 0.25]


>> % evaluar
>> eval(f(2,0.25))

ans =

0.2500
0.2500

>> eval(j(2,0.25))

ans =

-1

>> % los incrementos (m y n ) son las soluciones del sistema lineal


>> syms m n
>> J=[2 -1 ; 4 2]

J=

-1

>> I=[m ; n]

I=

m
n

>> F=[-0.25 ; -0.25]'

F=

-0.2500 -0.2500

>> I = F/J

I=

0.0625 -0.0938

>> % LA SIGUIENTE ITERACION


>> % P1 = p0 + I
>> p1 = [

2; 0.25] + [0.0625 ; -0.0938]

p1 =

2.0625
0.1562

4. Mtodos de Gauss Jordn el sistema los puntos.

x=B

si B=

4 2
1 1

m
(1Bm)
y A=

Donde m es la matriz

cuyas columnas son los propias de B.

B=

4 2
1 1

[ ]
0
0

( B v=o

4 2
1 1

4 2
1
1

Para ello sacamos el determinante para poder hallar :

45+

(-3) ( -2)= 0

+ 2 = 0 por aspa simple nos sale dos respuestas


=3

=2

Luego para el matriz B tenemos dos casos


1. Caso
=3

4 2
1 2

] [ ]
V1
V2

[]

[]

0
0

Obtenemos:
V1 -2V2 = 0
V1=1
V1= [2,1]
Caso. 2
=2

] [ ]

2 2
1 2

X1 - 2X2 =0
X1=1

x1
x2

0
0

obtenemos

X = [1,2]

Entonces obtenemos la respuesta que nos pide:

[ ]
2 1
1 1

M=

m
(1Bm)
A=

A=

1 1
1 2

] [

1 1
1 2

obtenemos
4 2
1 1

] [ ]
2 1
1 1

A*X = B
Donde X es:

[ ]
a b
c d

[ ] [ ]
3 0
0 2

a b
c d

3 a 3b
2c 2d

A=4/3
-

3b=-2
B=-2/3

2c=1
C=1/2

4 2
1 1

4 2
1 1

Obtenemos lo siguiente:
3a=4

[ ]
3 0
0 2

2d=1
D=1/2

También podría gustarte