Generate two random variates with mean of arrivals (α)
of 0.75 using the
random numbers given below (starting from the left most number
first).
(0.69607, 0.24145, 0.86477, 0.43886, 0.05317, 0.30455)
GIVEN THAT:-
random numbers are ,
(0.69607, 0.24145, 0.86477, 0.43886, 0.05317, 0.30455)
TO FIND :-two random variates with mean of arrivals (α) of 0.75 (Using the random numbers above)
now from the above taking 1st value randomlly
x 0 = 0.69607, x n+1 = P 1 x n + P 2 (mod N) n = 0,1,2,...
mod N means that the expression on the right of the equation is divided by N
then replaced with the remainder.
the understand it more follow the examples given below
now taking the example values as
x 0 =79, N = 100, P 1 = 263, and P 2 = 71
x 1 = 79*263 + 71 (mod 100) = 20848 (mod 100) = 48,
x 1 = 48*263 + 71 (mod 100) = 12695 (mod 100) = 95,
x 1 = 95*263 + 71 (mod 100) = 25056 (mod 100) = 56,
x 1 = 56*263 + 71 (mod 100) = 14799 (mod 100) = 99,
***********************************************************
please give up vote which means us a lot
THANKYOU
Get Answers For Free
Most questions answered within 1 hours.