2076 12

Simulation and Modeling20765 marksNumerical: Mixed congruential methodMethods of generation of Random Number

Use Mixed congruential method to generate a sequence of random numbers with X0 = 27, n = 17, m = 100 and c = 43.

Use Mixed congruential method to generate a sequence of random numbers with $X_0 = 27$, $n = 17$, $m = 100$ and $c = 43$. [5]

Parameter Symbol Value -------------------------- Seed $X0$ 27 Multiplier $a$ (given as $n$) 17 Modulus $m$ 100 Increment $c$ 43 Mixed (Linear) Congruential Method, with $c \ne 0$: $$X{i+1} = (aXi + c) \bmod m = (17Xi + 43) \bmod 100$$ $$Ri = \frac{Xi}{m}$$ --- Iteration 1: $$X1 = (17 \times 27 +...