Instalacion

Solo disponible en BuenasTareas
  • Páginas : 2 (336 palabras )
  • Descarga(s) : 0
  • Publicado : 1 de junio de 2011
Leer documento completo
Vista previa del texto
CALCULE LOS 5 PRIMEROS ALEATORIOS DE 4 DIGITOS QUE SE GENERAN CON LAS SEMILLAS:

X0 = 9876 Y X0 =5678 | X0 = 9803 Y X0 = 6965 |
r1= 0.0759 | r1= 0.2778 |r2= 0.3096 | r2= 0.3487 |
r3= 0.3498 | r3= 0.6868 |
r4= 0.8298 | r4= 0.9487 |
r5= 0.0264 | r5= 0.1567 |
CUADRADOS MEDIOSPRODUCTOS MEDIOS
X0 = 9876 | X0 = 5678 |
r1= 0.5353 | r1= 0.2396 |
r2= 0.6546 | r2= 0.7408 |
r3= 0.8501 | r3= 0.8784 |
r4= 0.2670 | r4= 0.1586 |r5= 0.1289 | r5= 0.5153 |



MULTIPLICADOR CONSTANTE
X0 = 5678 Y a = 9876 | X0 = 3456 Y a = 1234 |
r1= 0.0759 | r1= 0.2647 |
r2= 0.4958 | r2= 0.2663 |r3= 0.9652 | r3= 0.2861 |
r4= 0.3231 | r4= 0.5304 |
r5= 0.9093 | r5= 0.5451 |

X0 = 53 c = 33 m = 3 k =6 | X0 = 17 c = 7 a = 21 g =4 |
r1= 0.1000 | r1= 0.8 |r2= 0.1000 | r2= 0.2 |
r3= 0.1000 | r3= 0.4 |
r4= 0.1000 | r4= 0.3333 |
r5= 0.1000 | r5= 0.0000 |
ALGORITMO LINEAL

ALGORITMO CONGRUENCIAL MULTIPLICATIVO
X0 = 15 g = 5k =6 | X0 = 13 g = 5 k =2 |
r1= 0.8709 | r1= 0.5483 |
r2= 0.7419 | r2= 0.1612 |
r3= 0.0967 | r3= 0.2903 |
r4= 0.1000 | r4= 0.9354 |
r5= 0.3548 | r5= 0.0322 |X1 = 35 X2 = 26 X3 = 39X4 = 43 X5 = 52 ; m = 100 | X1 = 98 X2 = 76 X3 = 23X4 = 13 X5 = 17 ; m = 777 |
r1= 0.8787 | r1= 0.1481 |
r2= 0.1313 | r2= 0.2461 |
r3= 0.5252 | r3=0.2757 |
r4= 0.9595 | r4= 0.2925 |
r5= 0.4747 | r5= 0.3144 |

ALGORITMO CONGRUENCIAL ADITIVO

X0 = 65 a = 86 b = 22 c =17 m = 8 | X0 = 93 a = 34 b = 30 c =27g = 3 |
r1= 0.7142 | r1= 0.4285 |
r2= 0.7142 | r2= 0.1000 |
r3= 0.7142 | r3= 0.1000 |
r4= 0.7142 | r4= 0.1000 |
r5= 0.7142 | r5= 0.1000 |
ALGORITMO CONGRUENCIAL NO LINEAL
tracking img