You are on page 1of 3

S3_Método Congruencial Mixto y Simulación de Variables Aleatorias (Resuelto)

1)

X0 Semilla 4 n Xn Rn
a Multiplicador 5 1 3 0.429
c Incremento 7 2 6 0.857
m Módulo 8 3 5 0.714
4 0 0.000
5 7 1.000
6 2 0.286
7 1 0.143
8 4 0.571

2)

Número Número t0,i = t0,(i-1) ts,i = max{tf, Wq(i) = ts,i - Número


Buje ti
aleatorio_1 aleatorio_2 + ti (i-1);t0,i} t0,i aleatorio_3

- - - - 0 - - -
1 0.93641 0.48735 7.85202 7.85202 7.85202 0.00000 0.36725
2 0.98387 0.60779 8.12120 15.97321 15.97321 0.00000 0.24824
3 0.00706 0.91171 6.81933 22.79255 22.79255 0.00000 0.39747
4 0.27848 0.11287 4.34385 27.13640 29.01288 1.87647 0.62030
5 0.10719 0.08107 4.13892 31.27532 36.93169 5.65637 0.57326
6 0.97177 0.70608 8.37358 39.64890 44.48570 4.83680 0.68472
7 0.07621 0.88258 6.75783 46.40673 52.92850 6.52177 0.67272

Nin 7
Nqin 7
Nqout 7
Nout 7

T 61.27082
Lambda 0.11424688

W 9.75888
Wq 2.69877

L 1.11492142
Lq 0.30832655
Wi = tf,i - Número Número
xi tf,i = ts,i + xi Buje ti
t0,i aleatorio_1 aleatorio_2

- - - - - - -
5.98254 13.83455 5.98254 1 0.93641 0.48735 7.85202
4.95992 20.93313 4.95992 2 0.98387 0.60779 8.12120
6.22033 29.01288 6.22033 3 0.00706 0.91171 6.81933
7.91881 36.93169 9.79529 4 0.27848 0.11287 4.34385
7.55401 44.48570 13.21038 5 0.10719 0.08107 4.13892
8.44280 52.92850 13.27960 6 0.97177 0.70608 8.37358
8.34232 61.27082 14.86409 7 0.07621 0.88258 6.75783
Número
t0,i ts,i Wq(i) xi tf,i Wi
aleatorio_3

0 - - - - - -
0.36725 5.98254
0.24824 4.95992
0.39747 6.22033
0.62030 7.91881
0.57326 7.55401
0.68472 8.44280
0.67272 8.34232

You might also like