Starting from:

$29.99

Science 2 Assignment 2 Solution


Ij+1 = (AIj + C) mod M
where A = 106, C = 1283, M = 6075 and I1 = 1
You can use this random number generator to get N random numbers (I1, I2, … IN)
1. xsinx in the range [-π,π]
2. x2cosx in the range [-π/2, π/2]
3. ecosx in the range [-3,3]
4. excosx in the range [-π/2, π/2] 5. cosx - cos2x in the range [-π/2, π/2]
To compute probabilities (in subparts a and b) and mean (in subpart c) simulate the experiments appropriate number of times (atleast 10000).
a = - (Roll Number % 5 + 1); b = Roll Number % 5 + 1
Therefore, if your Roll Number is 2021101132, then a = -3, b = 3.


More products