Teoria de colas

Páginas: 9 (2167 palabras) Publicado: 28 de febrero de 2011
This is a Classroom License for instructional use only.
Research and commercial use is prohibited.
>> xo=1;
for i=1:9
x=1/((x+1)^2);
dist=abs(x-x0);
dg=abs(-2/((x+1)^3));
disp([x, dist, dg])
xo=x;
end
??? Undefined function or variable 'x'.

>> xo=1;
for i=1:9
f=1/((x+1)^2);
dist=abs(x-x0);
dg=abs(-2/((x+1)^3));
disp([x, dist,dg])
xo=x;
end
??? Undefined function or variable 'x'.

>> xo=1;
for i=1:9
f=1/((x0+1)^2);
dist=abs(x-x0);
dg=abs(-2/((x+1)^3));
disp([x, dist, dg])
xo=x;
end
??? Undefined function or variable 'x0'.

>> xo=1;
for i=1:9
f=1./((xo+1).^2);
dist=abs(x-xo);
dg=abs(-2./((x+1).^3));
disp([x, dist, dg])
xo=x;
end
???Undefined function or variable 'x'.

>> xo=1;
for i=1:9
x=1./((xo+1).^2);
dist=abs(x-xo);
dg=abs(-2./((x+1).^3));
disp([x, dist, dg])
xo=x;
end
0.2500 0.7500 1.0240

0.6400 0.3900 0.4534

0.3718 0.2682 0.7747

0.5314 0.1596 0.5569

0.4264 0.1050 0.6891

0.4915 0.0651 0.6028

0.4495 0.04200.6567

0.4759 0.0264 0.6221

0.4591 0.0169 0.6439

>> xo=1;
for i=1:15
x=1./((xo+1).^2);
dist=abs(x-xo);
dg=abs(-2./((x+1).^3));
disp([x, dist, dg])
xo=x;
end
0.2500 0.7500 1.0240

0.6400 0.3900 0.4534

0.3718 0.2682 0.7747

0.5314 0.1596 0.5569

0.4264 0.1050 0.68910.4915 0.0651 0.6028

0.4495 0.0420 0.6567

0.4759 0.0264 0.6221

0.4591 0.0169 0.6439

0.4697 0.0107 0.6300

0.4629 0.0068 0.6388

0.4673 0.0043 0.6332

0.4645 0.0027 0.6367

0.4662 0.0017 0.6345

0.4651 0.0011 0.6359

>> xo=2;
for i=1:15
x=1./((xo+1).^2);dist=abs(x-xo);
dg=abs(-2./((x+1).^3));
disp([x, dist, dg])
xo=x;
end
0.1111 1.8889 1.4580

0.8100 0.6989 0.3373

0.3052 0.5048 0.8994

0.5870 0.2817 0.5004

0.3971 0.1899 0.7335

0.5124 0.1153 0.5782

0.4372 0.0751 0.6737

0.4841 0.0469 0.6118

0.4540 0.0301 0.6506

0.47300.0190 0.6258

0.4609 0.0121 0.6415

0.4686 0.0077 0.6315

0.4637 0.0049 0.6378

0.4668 0.0031 0.6338

0.4648 0.0020 0.6363

>> xo=1;
for i=1:9
x=4+(xo-1/xo+1);
dist=abs(x-xo);
dg=abs(2./((x+1).^2));
disp([x, dist, dg])
xo=x;
end
5.0000 4.0000 0.0556

9.8000 4.8000 0.017114.6980 4.8980 0.0081

19.6299 4.9320 0.0047

24.5790 4.9491 0.0031

29.5383 4.9593 0.0021

34.5044 4.9661 0.0016

39.4755 4.9710 0.0012

44.4501 4.9747 0.0010

>>
>> xo=2;
for i=1:9
x=4+(xo-1/xo+1);
dist=abs(x-xo);
dg=abs(2./((x+1).^2));
disp([x, dist, dg])
xo=x;
end
6.50004.5000 0.0356

11.3462 4.8462 0.0131

16.2580 4.9119 0.0067

21.1965 4.9385 0.0041

26.1493 4.9528 0.0027

31.1111 4.9618 0.0019

36.0789 4.9679 0.0015

41.0512 4.9723 0.0011

46.0269 4.9756 0.0009

>> xo=3;
for i=1:9
x=4+(xo-1/xo+1);
dist=abs(x-xo);
dg=abs(2./((x+1).^2));disp([x, dist, dg])
xo=x;
end
7.6667 4.6667 0.0266

12.5362 4.8696 0.0109

17.4565 4.9202 0.0059

22.3992 4.9427 0.0037

27.3545 4.9554 0.0025

32.3180 4.9634 0.0018

37.2870 4.9691 0.0014

42.2602 4.9732 0.0011

47.2366 4.9763 0.0009

>> xo=3;
for i=1:9
x=4+((xo-1)./(xo+1));...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Teoría Del Colo
  • Teoria De Cola
  • Teoria De Colas
  • teoria de colas
  • Teoria de colas
  • Teoria de colas
  • TEORIA DE COLAS
  • Teoría de colas

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS