Está en la página 1de 13

Sistemas Dinmicos Taller Laboratorio 1.

Integrantes:

Vargas Erick
Gomez Paul
Cortes Frei
1.) & 2.)
ED=dsolve('4*D3y + 7*D2y + 8*D1y = 13,D2y(0)=5,Dy(0)=3,y(0)=1')
ezplot(dsolve('4*D3y + 7*D2y + 8*D1y = 13,D2y(0)=5,Dy(0)=3,y(0)=1'));
title ('Ecuacin Diferencial: A')
xlabel('t')
ylabel('Solucin y')

ED =
(13*t)/8 - (237*exp(-(7*t)/8)*cos((79^(1/2)*t)/8))/64 - (955*79^(1/2)*exp((7*t)/8)*sin((79^(1/2)*t)/8))/5056 + 301/64
Ecuacin Diferencial: A
50
0

S o lu c i n y

-50
-100
-150
-200
-250
-300
-350
-400
-450

-6

-4

-2

0
t

ED=dsolve('3*(D2y) + 3*(Dy)-7*y = 13,Dy(0)=3,y(0)=0')


ezplot(dsolve('3*(D2y) + 3*(Dy)-7*y = 13,Dy(0)=3,y(0)=0'))
title ('Ecuacin Diferencial: B')
xlabel('t')
ylabel('Solucin y')

ED =

Sistemas Dinmicos Taller Laboratorio 1.


Integrantes:

Vargas Erick
Gomez Paul
Cortes Frei
exp(t*(93^(1/2)/6 - 1/2))*((55*93^(1/2))/434 + 13/14) + (93^(1/2)*exp(t*(93^(1/2)/6 + 1/2))*(13*93^(1/2) - 165))/1302 - 13/7
Ecuacin Diferencial: B
2000
0

S o luc in y

-2000
-4000
-6000
-8000
-10000
-12000
-6

-4

-2

0
t

ED=dsolve('8*D2x + 7*Dx + 2*x = 13,Dx(0)=13,x(0)=25')


ezplot(dsolve('8*D2x + 7*Dx + 2*x = 13,Dx(0)=13,x(0)=25'))
title ('Ecuacin Diferencial: C')
xlabel('t')
ylabel('Solucin y')

ED =
(37*exp(-(7*t)/16)*cos((15^(1/2)*t)/16))/2 +
(45*15^(1/2)*exp(-(7*t)/16)*sin((15^(1/2)*t)/16))/2 + 13/2

Sistemas Dinmicos Taller Laboratorio 1.


Integrantes:

Vargas Erick
Gomez Paul
Cortes Frei
Ecuacin Diferencial: C
0

S o lu c i n y

-200

-400

-600

-800

-1000

-6

-4

-2

0
t

3.)
Para la ecuacin A
subplot(2,2,1);
ED=dsolve('4*D3y + 7*D2y + 8*D1y = 13,D2y(0)=5,Dy(0)=3,y(0)=1')
ezplot(dsolve('4*D3y + 7*D2y + 8*D1y = 13,D2y(0)=5,Dy(0)=3,y(0)=1'));
title('C.I.:Dy(0)=3,y(0)=1')
xlabel('t')
ylabel('Solucin y')
subplot(2,2,2);
ED=dsolve('4*D3y + 7*D2y + 8*D1y = 13,D2y(0)=5,Dy(0)=0,y(0)=15')
ezplot(dsolve('4*D3y + 7*D2y + 8*D1y = 13,D2y(0)=5,Dy(0)=0,y(0)=15'));
title('C.I.:Dy(0)=0,y(0)=15')
xlabel('t')
ylabel('Solucin y')

subplot(2,2,3);
ED=dsolve('4*D3y + 7*D2y + 8*D1y = 13,D2y(0)=5,Dy(0)=6,y(0)=4')
ezplot(dsolve('4*D3y + 7*D2y + 8*D1y = 13,D2y(0)=5,Dy(0)=6,y(0)=4'));
title('C.I.:Dy(0)=6,y(0)=4')
xlabel('t')
ylabel('Solucin y')
subplot(2,2,4);

Sistemas Dinmicos Taller Laboratorio 1.


Integrantes:

Vargas Erick
Gomez Paul
Cortes Frei
ED=dsolve('4*D3y + 7*D2y + 8*D1y = 13,D2y(0)=5,Dy(0)=3,y(0)=19')
ezplot(dsolve('4*D3y + 7*D2y + 8*D1y = 13,D2y(0)=6,Dy(0)=3,y(0)=19'));
title('C.I.:Dy(0)=3,y(0)=19')
xlabel('t')
ylabel('Solucin y')
C.I.:Dy(0)=0,y(0)=15

S o lu c i n y

S o lu c i n y

C.I.:Dy(0)=3,y(0)=1

-100
-200
-300
-400
0
t
C.I.:Dy(0)=6,y(0)=4

0
-200
-400

0
-100
-200

S o lu c i n y

S o lu c i n y

-5

100

-5

0
t
C.I.:Dy(0)=3,y(0)=19

-5

0
t

0
-200
-400

-600
-5

0
t

Para la ecuacin B
subplot(2,2,1);
ED=dsolve('3*(D2y) + 3*(Dy)-7*y = 13,Dy(0)=3,y(0)=0')
ezplot(dsolve('3*(D2y) + 3*(Dy)-7*y = 13,Dy(0)=3,y(0)=0'))
title('C.I.:Dy(0)=3,y(0)=0')
xlabel('t')
ylabel('Solucin y')
subplot(2,2,2);
ED=dsolve('3*(D2y) + 3*(Dy)-7*y = 13,Dy(0)=20,y(0)=5')
ezplot(dsolve('3*(D2y) + 3*(Dy)-7*y = 13,Dy(0)=20,y(0)=5'))

Sistemas Dinmicos Taller Laboratorio 1.


Integrantes:

Vargas Erick
Gomez Paul
Cortes Frei
title('C.I.:Dy(0)=20,y(0)=5')
xlabel('t')
ylabel('Solucin y')
subplot(2,2,3);
ED=dsolve('3*(D2y) + 3*(Dy)-7*y = 13,Dy(0)=1,y(0)=3')
ezplot(dsolve('3*(D2y) + 3*(Dy)-7*y = 13,Dy(0)=1,y(0)=3'))
title('C.I.:Dy(0)=1,y(0)=3')
xlabel('t')
ylabel('Solucin y')
subplot(2,2,4);
ED=dsolve('3*(D2y) + 3*(Dy)-7*y = 13,Dy(0)=15,y(0)=2')
ezplot(dsolve('3*(D2y) + 3*(Dy)-7*y = 13,Dy(0)=15,y(0)=2'))
title('C.I.:Dy(0)=15,y(0)=2')
xlabel('t')
ylabel('Solucin y')

Sistemas Dinmicos Taller Laboratorio 1.


Integrantes:

Vargas Erick
Gomez Paul
Cortes Frei
4
x 10 C.I.:Dy(0)=20,y(0)=5

S o lu c i n y

S o lu c i n y

C.I.:Dy(0)=3,y(0)=0

-5000
-10000

-5
-10
-15

-5
4

0
t
C.I.:Dy(0)=1,y(0)=3

-5

0
t
4
x 10 C.I.:Dy(0)=15,y(0)=2

S o lu c i n y

x 10

S o lu c i n y

4
2

0
-5
-10
-15

0
-5

Para la ecuacin C

0
t

-5

0
t

subplot(2,2,1);
ED=dsolve('8*D2x + 7*Dx + 2*x = 13,Dx(0)=0,x(0)=2')
ezplot(dsolve('8*D2x + 7*Dx + 2*x = 13,Dx(0)=0,x(0)=2'))
title('C.I.:Dx(0)=0,x(0)=2')
xlabel('t')
ylabel('Solucin y')
subplot(2,2,2);
ED=dsolve('8*D2x + 7*Dx + 2*x = 13,Dx(0)=20,x(0)=0')
ezplot(dsolve('8*D2x + 7*Dx + 2*x = 13,Dx(0)=20,x(0)=0'))
title('C.I.:Dx(0)=20,x(0)=0')
xlabel('t')
ylabel('Solucin y')
subplot(2,2,3);
ED=dsolve('8*D2x + 7*Dx + 2*x = 13,Dx(0)=3,x(0)=1')
ezplot(dsolve('8*D2x + 7*Dx + 2*x = 13,Dx(0)=3,x(0)=1'))
title('C.I.:Dx(0)=3,x(0)=1')
xlabel('t')
ylabel('Solucin y')

Sistemas Dinmicos Taller Laboratorio 1.


Integrantes:

Vargas Erick
Gomez Paul
Cortes Frei
subplot(2,2,4);
ED=dsolve('8*D2x + 7*Dx + 2*x = 13,Dx(0)=4,x(0)=15')
ezplot(dsolve('8*D2x + 7*Dx + 2*x = 13,Dx(0)=4,x(0)=15'))
title('C.I.:Dx(0)=4,x(0)=15')
xlabel('t')
ylabel('Solucin y')

S o lu c i n y

80
60
40
20
0

S o lu c i n y

C.I.:Dx(0)=20,x(0)=0

-500

-1000
-5

0
t
C.I.:Dx(0)=3,x(0)=1

-20

-40

S o lu c i n y

S o lu c i n y

C.I.:Dx(0)=0,x(0)=2

-5

0
t
C.I.:Dx(0)=4,x(0)=15

-5

0
t

0
-100
-200
-300
-400

-5

0
t

4.)
1
s=tf('s')
a=(7*s^2+2*s+3)/(8*s^2+3*s+1)
step(a)

Sistemas Dinmicos Taller Laboratorio 1.


Integrantes:

Vargas Erick
Gomez Paul
Cortes Frei
Step Response

3.5

A m p lit u d e

2.5

1.5

0.5

10

15

20

Time (seconds)

s=tf('s')
a=(7*s^2+2*s+3)/(8*s^2+3*s+1)
impulse(a)

25

30

35

Sistemas Dinmicos Taller Laboratorio 1.


Integrantes:

Vargas Erick
Gomez Paul
Cortes Frei
Impulse Response

0.6
0.5

A m p lit u d e

0.4
0.3
0.2
0.1
0
-0.1

10

15

20

25

30

35

Time (seconds)

rampa
s=tf('s')
a=((7*s^2+2*s+3)/(8*s^2+3*s+1))*(1/s)
step(a)
Step Response

A m p lit u d e

6000

5000

4000

3000

2000

1000

200

400

600

800

1000

1200

Time (seconds)

2
s=tf('s')
a=((s+3)*(s+2))/(2*s^2+7*s+5)
step(a)

1400

1600

1800

2000

Sistemas Dinmicos Taller Laboratorio 1.


Integrantes:

Vargas Erick
Gomez Paul
Cortes Frei
Step Response

1.3
1.2

A m p l it u d e

1.1
1
0.9
0.8
0.7
0.6
0.5

Time (seconds)

s=tf('s')
a=((s+3)*(s+2))/(2*s^2+7*s+5)
impulse(a)
Impuls e Res ponse

0.8

A m p lit u d e

0.7
0.6
0.5
0.4
0.3
0.2
0.1
0

4
5
Time (seconds)

rampa
s=tf('s')
a=((s+3)*(s+2))/(2*s^2+7*s+5)*(1/s)
step(a)

Sistemas Dinmicos Taller Laboratorio 1.


Integrantes:

Vargas Erick
Gomez Paul
Cortes Frei
Step Response

500
450
400

A m p litu d e

350
300
250
200
150
100
50
0

50

100

150

200

250

300

350

400

Time (seconds)

s=tf('s')
a=((5*s+3)*(3*s-1))/((3*s+2)*(3*s+7)*(8*s-5))
step(a)
4.5

x 10

25

Step Response

4
3.5

A m plitude

3
2.5
2
1.5
1
0.5
0

10

20

30

40

50

60

Time (seconds)

s=tf('s')

70

80

90

100

Sistemas Dinmicos Taller Laboratorio 1.


Integrantes:

Vargas Erick
Gomez Paul
Cortes Frei
a=((5*s+3)*(3*s-1))/((3*s+2)*(3*s+7)*(8*s-5))
impulse(a)

25

Impulse Response

x 10

2.5

A m plitude

1.5

0.5

0
0

10

20

30

40

50

60

70

80

90

100

Time (seconds)

rampa
s=tf('s')
a=(((5*s+3)*(3*s-1))/((3*s+2)*(3*s+7)*(8*s-5)))*(1/s)
step(a)

Sistemas Dinmicos Taller Laboratorio 1.


Integrantes:

Vargas Erick
Gomez Paul
Cortes Frei
25

Step Response

x 10

A m p lit u d e

5
4
3
2
1
0

10

20

30

40

50

60

Time (seconds)

70

80

90

100

También podría gustarte